Skip to content
Heist/ feed
Back to feed
Medium

Incomplete redaction re-attaches the original error path in AshGraphql, leaking internal field names

Type: advisorySources: OSV

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. In 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. This issue affects ash_graphql: from 1.9.0 before 1.11.0.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-78693
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 23:43 UTC · Revision 1

Source evidence

Incomplete redaction re-attaches the original error path in AshGraphql, leaking internal field names

core-osv · Original source

Published 30 Aug 2026, 18:28 UTC

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. In 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. This issue affects ash_graphql: from 1.9.0 before 1.11.0.

osv:CVE-2026-78693
Complete source record
{
  "id": "f360d86d1a08a56878ca855ac1edb0d6e0ecc0f3867e276a2e7d1c2200517f4d",
  "url": "https://osv.dev/vulnerability/CVE-2026-78693",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Incomplete redaction re-attaches the original error path in AshGraphql, leaking internal field names",
    "summary": "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. In 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. This issue affects ash_graphql: from 1.9.0 before 1.11.0.",
    "evidence": "osv:CVE-2026-78693",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-78693",
      "aliases": [
        "CVE-2026-78693",
        "EEF-CVE-2026-78693",
        "GHSA-ppr2-g9h8-w7qp"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ash-project/ash_graphql",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6d2d8d995906d68cc245d209a9b3f9853405eb61"
                },
                {
                  "fixed": "78e90d369f09f44c534816de541e60841066a467"
                },
                {
                  "introduced": "374261a4f243d67213f7527c93dde688dcb6ecf2"
                },
                {
                  "fixed": "4e2c5476ecfd2c701488627ee46e6eefc58c982e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "6d2d8d995906d68cc245d209a9b3f9853405eb61"
                      },
                      {
                        "fixed": "78e90d369f09f44c534816de541e60841066a467"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.9.0"
                      },
                      {
                        "fixed": "1.11.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "78e90d369f09f44c534816de541e60841066a467"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.10.1",
            "v1.10.0",
            "v1.9.4",
            "v1.9.3",
            "v1.9.2",
            "v1.9.1",
            "v1.9.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-78693.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:40.524690369Z",
      "provider": "osv",
      "references": [
        "https://cna.erlef.org/cves/CVE-2026-78693.html",
        "https://github.com",
        "https://osv.dev/vulnerability/EEF-CVE-2026-78693",
        "https://repo.hex.pm",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/78xxx/CVE-2026-78693.json",
        "https://github.com/ash-project/ash_graphql/security/advisories/GHSA-ppr2-g9h8-w7qp",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-78693",
        "https://github.com/ash-project/ash_graphql/commit/78e90d369f09f44c534816de541e60841066a467",
        "https://github.com/ash-project/ash_graphql"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-209"
        ],
        "cna_assigner": "EEF",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/78xxx/CVE-2026-78693.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-78693",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 508093,
  "published_at": "2026-08-30T18:28:35.282+00:00"
}