{"id":"CVE-2026-86522","state":"PUBLISHED","title":"Log injection via an unescaped password reset identity in AshAuthentication","description":"Improper Output Neutralization for Logs vulnerability in team-alembic AshAuthentication allows an unauthenticated attacker to forge application log entries by submitting a password reset identity containing newlines or control characters.\n\nAshAuthentication.Strategy.Password.RequestPasswordReset.run/3 interpolates the identity argument, the email or username taken straight from the reset request, into its Logger.warning/1 heredocs without escaping, truncating or type-restricting it. The resource logged beside it is passed through inspect/1, which would have neutralized the value. A newline in the identity therefore ends the log record, and everything after it is written as a line of its own, so an attacker chooses the severity tag and the content of entries that appear to have come from the application.\n\nThis issue affects ash_authentication: from 4.2.0 before 4.15.0 and from 5.0.0-rc.0 before 5.0.0-rc.14.","publishedAt":"2026-09-17T13:09:11.572Z","updatedAt":"2026-09-17T18:27:51.681Z","severity":{"score":6.3,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N","source":"EEF"},"assigner":"EEF","products":["team-alembic ash_authentication"],"affected":[{"vendor":"team-alembic","product":"ash_authentication","packageName":"ash_authentication","packageURL":"pkg:hex/ash_authentication","defaultStatus":"unaffected","versions":[{"version":"4.2.0","status":"affected","lessThan":"4.15.0","versionType":"semver"},{"version":"5.0.0-rc.0","status":"affected","lessThan":"5.0.0-rc.14","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshAuthentication.Strategy.Password.RequestPasswordReset'"],"programFiles":["lib/ash_authentication/strategies/password/request_password_reset.ex"],"programRoutines":[{"name":"'Elixir.AshAuthentication.Strategy.Password.RequestPasswordReset':run/3"}],"repo":"https://github.com/team-alembic/ash_authentication"},{"vendor":"team-alembic","product":"ash_authentication","packageName":"team-alembic/ash_authentication","packageURL":"pkg:github/team-alembic/ash_authentication","defaultStatus":"unaffected","versions":[{"version":"3954f277929712755aef57a4a3a821688f121316","status":"affected","lessThan":"*","changes":[{"at":"fd19358bf0eee53ef13dcf17cc499bd4fb393981","status":"unaffected"},{"at":"57c7cc3236bef0fa9da19cb315414f216488866d","status":"unaffected"}],"versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshAuthentication.Strategy.Password.RequestPasswordReset'"],"programFiles":["lib/ash_authentication/strategies/password/request_password_reset.ex"],"programRoutines":[{"name":"'Elixir.AshAuthentication.Strategy.Password.RequestPasswordReset':run/3"}],"repo":"https://github.com/team-alembic/ash_authentication"}],"references":["https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-wg7g-r393-vr3g","https://cna.erlef.org/cves/CVE-2026-86522.html","https://osv.dev/vulnerability/EEF-CVE-2026-86522","https://github.com/team-alembic/ash_authentication/commit/3954f277929712755aef57a4a3a821688f121316","https://github.com/team-alembic/ash_authentication/commit/fd19358bf0eee53ef13dcf17cc499bd4fb393981","https://github.com/team-alembic/ash_authentication/commit/57c7cc3236bef0fa9da19cb315414f216488866d"],"weaknesses":["CWE-117"],"ingestedAt":"2026-10-29T20:13:26.108Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/86xxx/CVE-2026-86522.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-86522","state":"PUBLISHED","datePublished":"2026-09-17T13:09:11.572Z","dateUpdated":"2026-09-17T18:27:51.681Z","assignerShortName":"EEF","assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateReserved":"2026-09-07T22:30:01.279Z"},"containers":{"cna":{"title":"Log injection via an unescaped password reset identity in AshAuthentication","descriptions":[{"lang":"en","value":"Improper Output Neutralization for Logs vulnerability in team-alembic AshAuthentication allows an unauthenticated attacker to forge application log entries by submitting a password reset identity containing newlines or control characters.\n\nAshAuthentication.Strategy.Password.RequestPasswordReset.run/3 interpolates the identity argument, the email or username taken straight from the reset request, into its Logger.warning/1 heredocs without escaping, truncating or type-restricting it. The resource logged beside it is passed through inspect/1, which would have neutralized the value. A newline in the identity therefore ends the log record, and everything after it is written as a line of its own, so an attacker chooses the severity tag and the content of entries that appear to have come from the application.\n\nThis issue affects ash_authentication: from 4.2.0 before 4.15.0 and from 5.0.0-rc.0 before 5.0.0-rc.14."}],"affected":[{"vendor":"team-alembic","product":"ash_authentication","packageName":"ash_authentication","packageURL":"pkg:hex/ash_authentication","defaultStatus":"unaffected","versions":[{"version":"4.2.0","status":"affected","lessThan":"4.15.0","versionType":"semver"},{"version":"5.0.0-rc.0","status":"affected","lessThan":"5.0.0-rc.14","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshAuthentication.Strategy.Password.RequestPasswordReset'"],"programFiles":["lib/ash_authentication/strategies/password/request_password_reset.ex"],"programRoutines":[{"name":"'Elixir.AshAuthentication.Strategy.Password.RequestPasswordReset':run/3"}],"repo":"https://github.com/team-alembic/ash_authentication"},{"vendor":"team-alembic","product":"ash_authentication","packageName":"team-alembic/ash_authentication","packageURL":"pkg:github/team-alembic/ash_authentication","defaultStatus":"unaffected","versions":[{"version":"3954f277929712755aef57a4a3a821688f121316","status":"affected","lessThan":"*","changes":[{"at":"fd19358bf0eee53ef13dcf17cc499bd4fb393981","status":"unaffected"},{"at":"57c7cc3236bef0fa9da19cb315414f216488866d","status":"unaffected"}],"versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshAuthentication.Strategy.Password.RequestPasswordReset'"],"programFiles":["lib/ash_authentication/strategies/password/request_password_reset.ex"],"programRoutines":[{"name":"'Elixir.AshAuthentication.Strategy.Password.RequestPasswordReset':run/3"}],"repo":"https://github.com/team-alembic/ash_authentication"}],"references":[{"url":"https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-wg7g-r393-vr3g","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-86522.html","name":"EEF CNA record for CVE-2026-86522","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-86522","name":"OSV record EEF-CVE-2026-86522","tags":["related"]},{"url":"https://github.com/team-alembic/ash_authentication/commit/3954f277929712755aef57a4a3a821688f121316","name":"Introducing commit 3954f27 in team-alembic/ash_authentication","tags":["related"]},{"url":"https://github.com/team-alembic/ash_authentication/commit/fd19358bf0eee53ef13dcf17cc499bd4fb393981","name":"Fix commit fd19358 in team-alembic/ash_authentication","tags":["patch"]},{"url":"https://github.com/team-alembic/ash_authentication/commit/57c7cc3236bef0fa9da19cb315414f216488866d","name":"Fix commit 57c7cc3 in team-alembic/ash_authentication","tags":["patch"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":6.3,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"LOW","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-117","description":"CWE-117 Improper Output Neutralization for Logs","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"EEF","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateUpdated":"2026-09-17T13:09:11.572Z"},"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*","versionEndExcluding":"4.15.0","versionStartIncluding":"4.2.0","vulnerable":true},{"criteria":"cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*","versionEndExcluding":"5.0.0-rc.14","versionStartIncluding":"5.0.0-rc.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"reporter","value":"Peter Ullrich"},{"lang":"en","type":"analyst","value":"Jonatan Männchen / EEF"},{"lang":"en","type":"remediation developer","value":"James Harton"}],"dateAssigned":"2026-09-11T18:26:23.000Z","impacts":[{"capecId":"CAPEC-93","descriptions":[{"lang":"en","value":"CAPEC-93 Log Injection-Tampering-Forging"}]}],"source":{"discovery":"INTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-17T18:27:45.711185Z","id":"CVE-2026-86522","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-17T18:27:51.681Z"}}]}}}