{"id":"CVE-2026-82759","aliases":["CVE-2026-82759","EEF-CVE-2026-82759","GHSA-cgqj-pcpq-xhfm"],"related":[],"kind":"vulnerability","state":"published","title":"Reversible IP address pseudonymisation in AshAuthentication audit log hash mode","summary":"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.\n\nAshAuthentication.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.\n\nThis 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nAshAuthentication.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.\n\nThis 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.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nUse 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.\n\n`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.\n\nThis 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.\n\n## Configurations\n\nOnly applications that enable the `audit_log` add-on and set its `ip_privacy` mode to `:hash` store the affected value. Other modes (`:none`, `:truncate`, `:exclude`) do not reach `hash_ip/1`.\n\nThe complete break additionally requires the default salt, that is neither `:audit_log_ip_salt` nor `:secret` configured under the `:ash_authentication` application. This is the out-of-the-box state: no warning or error is raised when the hardcoded salt is in use.","format":"markdown","source":"eef"}],"published":"2026-09-17T13:08:21.929Z","modified":"2026-11-26T17:23:10.149Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","vector":"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","score":1.8,"rating":"LOW"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","vector":"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","score":1.8,"rating":"LOW"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","vector":"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"}],"cwes":["CWE-760"],"affected":[{"ranges":[{"type":"semver","introduced":"4.12.0","fixed":"4.15.0","status":"affected"},{"type":"semver","introduced":"5.0.0-rc.0","fixed":"5.0.0-rc.14","status":"affected"}],"vendor":"team-alembic","product":"ash_authentication","package":"ash_authentication","cpe":"cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*","repo":"https://github.com/team-alembic/ash_authentication","source":"cvelist"},{"ranges":[{"type":"git","introduced":"255cfc9c0e511b7e0de39f8b3d676ae994fae06c","fixed":"*","status":"affected"}],"vendor":"team-alembic","product":"ash_authentication","package":"team-alembic/ash_authentication","cpe":"cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*","repo":"https://github.com/team-alembic/ash_authentication","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"4.12.0","status":"affected","fixed":"4.15.0"},{"type":"semver","introduced":"5.0.0-rc.0","status":"affected","fixed":"5.0.0-rc.14"}],"ecosystem":"Hex","package":"ash_authentication","purl":"pkg:hex/ash_authentication","source":"eef"},{"ranges":[{"type":"git","introduced":"255cfc9c0e511b7e0de39f8b3d676ae994fae06c","status":"affected","fixed":"c3a6d5fe0d4fd383ea81b0402db0a96638479478"},{"type":"git","status":"affected","fixed":"d8a9c4b6bde828fdc8346198d5e4f588b5937541"}],"repo":"https://github.com/team-alembic/ash_authentication","source":"eef"}],"references":[{"url":"https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-cgqj-pcpq-xhfm","tags":["advisory","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-82759.html","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82759","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://github.com/team-alembic/ash_authentication/commit/255cfc9c0e511b7e0de39f8b3d676ae994fae06c","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/team-alembic/ash_authentication/commit/c3a6d5fe0d4fd383ea81b0402db0a96638479478","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/team-alembic/ash_authentication/commit/d8a9c4b6bde828fdc8346198d5e4f588b5937541","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://hex.pm/packages/ash_authentication","tags":["package"],"sources":["eef"]}],"credits":["Peter Ullrich","Jonatan Männchen / EEF","James Harton"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-17T18:19:03.885Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-82759","url":"https://www.cve.org/CVERecord?id=CVE-2026-82759","licence":"CVE Terms of Use","modified":"2026-11-20T06:03:44.904Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-82759","url":"https://osv.dev/vulnerability/EEF-CVE-2026-82759","licence":"CC-BY-4.0","modified":"2026-11-26T17:23:10.149Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-82759","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82759","licence":"Public domain","modified":"2026-11-20T06:17:42.127Z"}],"updatedAt":"2026-11-26T17:37:33.748Z","epss":{"score":0.00121,"percentile":0.02097,"date":"2026-12-01T12:00:22.000Z"}}