{"affected":[{"package":{"ecosystem":"Hex","name":"ash_ai","purl":"pkg:hex/ash_ai"},"ranges":[{"events":[{"introduced":"0.1.0"},{"fixed":"1.0.0"}],"type":"SEMVER"}],"versions":["0.1.0","0.1.1","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7","0.1.8","0.1.9","0.1.10","0.1.11","0.2.0","0.2.1","0.2.2","0.2.3","0.2.4","0.2.5","0.2.6","0.2.7","0.2.8","0.2.9","0.2.10","0.2.11","0.2.12","0.2.13","0.2.14","0.3.0","0.4.0","0.5.0","0.6.0","0.6.1","0.7.0","0.7.1","0.7.2","0.7.3","0.8.0","0.8.1","0.8.2"]},{"ranges":[{"events":[{"introduced":"5334edc73a007f0629661761d6a75796f2fc0004"},{"fixed":"088a2562e16d65f36cec178070de683636479f58"}],"repo":"https://github.com/ash-project/ash_ai","type":"GIT"}]}],"aliases":["GHSA-p5cr-mmmf-6w39","CVE-2026-75760"],"credits":[{"name":"Peter Ullrich","type":"FINDER"},{"name":"Peter Ullrich","type":"REPORTER"},{"name":"Zach Daniel / Ash Project","type":"REMEDIATION_DEVELOPER"},{"name":"Jonatan Männchen / EEF","type":"COORDINATOR"}],"database_specific":{"capec_ids":["CAPEC-54"],"cpe_ids":["cpe:2.3:a:ash-project:ash_ai:*:*:*:*:*:*:*:*"],"cwe_ids":["CWE-209"]},"details":"## Summary\n\nGeneration of Error Message Containing Sensitive Information vulnerability in ash-project ash_ai discloses provider request state and credentials in a user-facing validation error.\n\nIn `AshAi.Changes.Vectorize`, when the embedding provider call fails the change added a changeset error whose message inspected the raw error term (`An error occurred while generating embeddings: #{inspect(error)}`). A plain-string `add_error` produces an `Ash.Error.Changes.InvalidChanges` in the `:invalid` class, which AshJsonApi and AshGraphql render back to the caller. The embedding client's error term is not sanitized, so it can carry the request URL, the provider response body, and, for HTTP clients that keep the request in the error struct, the outbound `Authorization` header with the provider API key. Failures are attacker-reachable via oversized or malformed vectorized content. The fix logs the raw error and returns a generic message.\n\nThis issue affects ash_ai: from 0.1.0 before 1.0.0.\n\n## Configurations\n\nThe application exposes a resource with `vectorize` configured over an HTTP API (AshJsonApi or AshGraphql) that renders `:invalid`-class changeset errors, and the embedding provider call can be made to fail (for example via oversized content).","id":"EEF-CVE-2026-75760","modified":"2026-09-08T02:15:02.014838Z","published":"2026-08-31T01:09:59.413Z","references":[{"type":"ADVISORY","url":"https://github.com/ash-project/ash_ai/security/advisories/GHSA-p5cr-mmmf-6w39"},{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-75760.html"},{"type":"FIX","url":"https://github.com/ash-project/ash_ai/commit/088a2562e16d65f36cec178070de683636479f58"},{"type":"PACKAGE","url":"https://hex.pm/packages/ash_ai"}],"related":[],"schema_version":"1.7.3","severity":[{"score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","type":"CVSS_V4"}],"summary":"AshAi vectorize change leaks raw embedding-provider errors, including credentials, in a user-facing error","upstream":[]}