{"id":"CVE-2026-78693","state":"PUBLISHED","title":"Incomplete redaction re-attaches the original error path in AshGraphql, leaking internal field names","description":"Generation of Error Message Containing Sensitive Information vulnerability in ash-project ash_graphql allows a remote client to read internal field names that an application configured its error_handler to redact.\n\nIn AshGraphql.Errors, each error is passed to the configured error_handler and the returned map is merged with the pre-handler path via Map.put_new(handled, :path, path). Because put_new defers to the handler only when the handler itself set :path, a sanitizing handler that returns a fresh map or deletes :path has that decision reverted. The re-injected path comes from build_error_path/5, which falls back to raw internal Ash attribute and argument names when no field_names mapping is configured. A validation failure on a non-exposed or nested field therefore returns internal names in the GraphQL error path, defeating the application's redaction.\n\nThis issue affects ash_graphql: from 1.9.0 before 1.11.0.","publishedAt":"2026-08-30T18:28:35.282Z","updatedAt":"2026-08-31T15:58:48.218Z","severity":{"score":6.9,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","source":"EEF"},"assigner":"EEF","products":["ash-project ash_graphql"],"affected":[{"vendor":"ash-project","product":"ash_graphql","packageName":"ash_graphql","packageURL":"pkg:hex/ash_graphql","defaultStatus":"unaffected","versions":[{"version":"1.9.0","status":"affected","lessThan":"1.11.0","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:ash-project:ash_graphql:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshGraphql.Errors'"],"programFiles":["lib/graphql/errors.ex"],"programRoutines":[{"name":"'Elixir.AshGraphql.Errors':to_errors/6"}],"repo":"https://github.com/ash-project/ash_graphql"},{"vendor":"ash-project","product":"ash_graphql","packageName":"ash-project/ash_graphql","packageURL":"pkg:github/ash-project/ash_graphql","defaultStatus":"unaffected","versions":[{"version":"6d2d8d995906d68cc245d209a9b3f9853405eb61","status":"affected","lessThan":"78e90d369f09f44c534816de541e60841066a467","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:ash-project:ash_graphql:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshGraphql.Errors'"],"programFiles":["lib/graphql/errors.ex"],"programRoutines":[{"name":"'Elixir.AshGraphql.Errors':to_errors/6"}],"repo":"https://github.com/ash-project/ash_graphql"}],"references":["https://github.com/ash-project/ash_graphql/security/advisories/GHSA-ppr2-g9h8-w7qp","https://cna.erlef.org/cves/CVE-2026-78693.html","https://osv.dev/vulnerability/EEF-CVE-2026-78693","https://github.com/ash-project/ash_graphql/commit/78e90d369f09f44c534816de541e60841066a467"],"weaknesses":["CWE-209"],"ingestedAt":"2026-10-29T20:13:07.220Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/78xxx/CVE-2026-78693.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-78693","state":"PUBLISHED","datePublished":"2026-08-30T18:28:35.282Z","dateUpdated":"2026-08-31T15:58:48.218Z","assignerShortName":"EEF","assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateReserved":"2026-08-30T15:30:02.101Z"},"containers":{"cna":{"title":"Incomplete redaction re-attaches the original error path in AshGraphql, leaking internal field names","descriptions":[{"lang":"en","value":"Generation of Error Message Containing Sensitive Information vulnerability in ash-project ash_graphql allows a remote client to read internal field names that an application configured its error_handler to redact.\n\nIn AshGraphql.Errors, each error is passed to the configured error_handler and the returned map is merged with the pre-handler path via Map.put_new(handled, :path, path). Because put_new defers to the handler only when the handler itself set :path, a sanitizing handler that returns a fresh map or deletes :path has that decision reverted. The re-injected path comes from build_error_path/5, which falls back to raw internal Ash attribute and argument names when no field_names mapping is configured. A validation failure on a non-exposed or nested field therefore returns internal names in the GraphQL error path, defeating the application's redaction.\n\nThis issue affects ash_graphql: from 1.9.0 before 1.11.0."}],"affected":[{"vendor":"ash-project","product":"ash_graphql","packageName":"ash_graphql","packageURL":"pkg:hex/ash_graphql","defaultStatus":"unaffected","versions":[{"version":"1.9.0","status":"affected","lessThan":"1.11.0","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:ash-project:ash_graphql:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshGraphql.Errors'"],"programFiles":["lib/graphql/errors.ex"],"programRoutines":[{"name":"'Elixir.AshGraphql.Errors':to_errors/6"}],"repo":"https://github.com/ash-project/ash_graphql"},{"vendor":"ash-project","product":"ash_graphql","packageName":"ash-project/ash_graphql","packageURL":"pkg:github/ash-project/ash_graphql","defaultStatus":"unaffected","versions":[{"version":"6d2d8d995906d68cc245d209a9b3f9853405eb61","status":"affected","lessThan":"78e90d369f09f44c534816de541e60841066a467","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:ash-project:ash_graphql:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshGraphql.Errors'"],"programFiles":["lib/graphql/errors.ex"],"programRoutines":[{"name":"'Elixir.AshGraphql.Errors':to_errors/6"}],"repo":"https://github.com/ash-project/ash_graphql"}],"references":[{"url":"https://github.com/ash-project/ash_graphql/security/advisories/GHSA-ppr2-g9h8-w7qp","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-78693.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-78693","tags":["related"]},{"url":"https://github.com/ash-project/ash_graphql/commit/78e90d369f09f44c534816de541e60841066a467","tags":["patch"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":6.9,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-209","description":"CWE-209 Generation of Error Message Containing Sensitive Information","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"EEF","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateUpdated":"2026-08-30T18:28:35.282Z"},"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ash-project:ash_graphql:*:*:*:*:*:*:*:*","versionEndExcluding":"1.11.0","versionStartIncluding":"1.9.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"finder","value":"Peter Ullrich"},{"lang":"en","type":"reporter","value":"Peter Ullrich"},{"lang":"en","type":"remediation developer","value":"Zach Daniel / Ash Project"},{"lang":"en","type":"coordinator","value":"Jonatan Männchen / EEF"}],"impacts":[{"capecId":"CAPEC-54","descriptions":[{"lang":"en","value":"CAPEC-54 Query System for Information"}]}],"source":{"discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/ash-project/ash_graphql/security/advisories/GHSA-ppr2-g9h8-w7qp","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-31T15:58:21.710895Z","id":"CVE-2026-78693","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-31T15:58:48.218Z"}}]}}}