Skip to main content

CVE-2026-82759: CWE-760 Use of a One-Way Hash with a Predictable Salt in team-alembic ash_authentication

0
Low
VulnerabilityCVE-2026-82759cvecve-2026-82759cwe-760
Published: 09/17/2026 (09/17/2026, 13:08:21 UTC)
Source: CVE Database V5
Vendor/Project: team-alembic
Product: ash_authentication

Description

Use of a One-Way Hash with a Predictable Salt vulnerability in team-alembic AshAuthentication allows readers of the audit store to recover the client IP addresses that the audit log add-on's :hash privacy mode is meant to pseudonymise. AshAuthentication.AddOn.AuditLog.IpPrivacy.hash_ip/1 computes a single unkeyed :crypto.hash(:sha256, salt <> ip) and truncates the result to 16 hexadecimal characters. The salt is read from the :audit_log_ip_salt or :secret application config keys, and falls back to the constant "default-salt-change-in-production" published in the library source when neither is set, with nothing warning that the default is in use. The IPv4 space is only 2^32 values and SHA-256 is fast, so the whole hash table is precomputable and every stored value maps back to its source address. Truncating to 16 characters does not help, and even a configured salt leaves the hash cheap enough to enumerate once it leaks. This issue affects ash_authentication: from 4.12.0 before 4.15.0 and from 5.0.0-rc.0 before 5.0.0-rc.14.

CVSS v4.0

Score 1.8low

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
High
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Affected software

team-alembic

ash_authentication

Affected versions
>=4.12.0 <4.15.0>=5.0.0-rc.0 <5.0.0-rc.14

team-alembic

ash_authentication

ash_authentication
pkg:hex/ash_authentication
Affected versions
>=4.12.0 <4.15.0>=5.0.0-rc.0 <5.0.0-rc.14
GitHub Actionsmore threats →cve
team-alembic/ash_authentication
pkg:github/team-alembic/ash_authentication
CPE configurations
cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/17/2026, 13:32:11 UTC

Technical Analysis

The vulnerability arises from the use of an unkeyed SHA-256 hash with a predictable salt to pseudonymize IP addresses in the ash_authentication audit log add-on. The salt is either a constant default string or a configurable value, but the default is used without warning. The hash output is truncated to 16 hex characters, which does not prevent precomputation attacks due to the limited IPv4 space and fast hashing. This allows an attacker with access to the audit store to recover client IP addresses that the privacy mode intended to conceal. The affected versions are >=4.12.0 <4.15.0 and >=5.0.0-rc.0 <5.0.0-rc.14.

Potential Impact

The impact is limited to the ability of an attacker who can read the audit store to recover client IP addresses that were meant to be pseudonymized. This compromises privacy but does not directly lead to system compromise or code execution. The CVSS score is low (1.8) reflecting the limited attack vector (local access) and low impact.

Mitigation Recommendations

No explicit patch or remediation is provided in the input data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should avoid using the default salt and configure a strong, secret salt value to increase the cost of precomputation attacks. Consider disabling the :hash privacy mode or using a more secure pseudonymization method until an official fix is available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
EEF
Date Reserved
2026-08-31T01:00:10.817Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6aabe86855bf5e2cf56c51c3

Added to database: 09/17/2026, 13:17:28 UTC

Last enriched: 09/17/2026, 13:32:11 UTC

Last updated: 09/18/2026, 01:27:24 UTC

Views: 12

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses