{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-77950",
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "state": "PUBLISHED",
        "assignerShortName": "EEF",
        "dateReserved": "2026-08-30T17:30:01.402Z",
        "datePublished": "2026-09-01T02:08:54.754Z",
        "dateUpdated": "2026-09-01T02:08:54.754Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "collectionURL": "https://repo.hex.pm",
                    "cpes": [
                        "cpe:2.3:a:ash-project:ash_typescript:*:*:*:*:*:*:*:*"
                    ],
                    "defaultStatus": "unaffected",
                    "modules": [
                        "'Elixir.AshTypescript.Rpc.Errors'"
                    ],
                    "packageName": "ash_typescript",
                    "packageURL": "pkg:hex/ash_typescript",
                    "product": "ash_typescript",
                    "programFiles": [
                        "lib/ash_typescript/rpc/errors.ex"
                    ],
                    "programRoutines": [
                        {
                            "name": "'Elixir.AshTypescript.Rpc.Errors':apply_error_handler/3"
                        },
                        {
                            "name": "'Elixir.AshTypescript.Rpc.Errors':to_errors/5"
                        }
                    ],
                    "repo": "https://github.com/ash-project/ash_typescript",
                    "vendor": "ash-project",
                    "versions": [
                        {
                            "lessThan": "0.18.0",
                            "status": "affected",
                            "version": "0.8.0",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "collectionURL": "https://github.com",
                    "cpes": [
                        "cpe:2.3:a:ash-project:ash_typescript:*:*:*:*:*:*:*:*"
                    ],
                    "defaultStatus": "unaffected",
                    "modules": [
                        "'Elixir.AshTypescript.Rpc.Errors'"
                    ],
                    "packageName": "ash-project/ash_typescript",
                    "packageURL": "pkg:github/ash-project/ash_typescript",
                    "product": "ash_typescript",
                    "programFiles": [
                        "lib/ash_typescript/rpc/errors.ex"
                    ],
                    "programRoutines": [
                        {
                            "name": "'Elixir.AshTypescript.Rpc.Errors':apply_error_handler/3"
                        },
                        {
                            "name": "'Elixir.AshTypescript.Rpc.Errors':to_errors/5"
                        }
                    ],
                    "repo": "https://github.com/ash-project/ash_typescript",
                    "vendor": "ash-project",
                    "versions": [
                        {
                            "lessThan": "59d8e985a98cf2e01794dbe5b919b897a95311f4",
                            "status": "affected",
                            "version": "cb01cc8749e5a2a17fb45aedbe75df30a9f1126e",
                            "versionType": "git"
                        }
                    ]
                }
            ],
            "configurations": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>The application exposes an AshTypescript RPC endpoint over HTTP and configures a custom <code>error_handler</code> in its <code>typescript_rpc</code> domain section for redaction or suppression.</p>"
                        },
                        {
                            "base64": false,
                            "type": "text/markdown",
                            "value": "The application exposes an AshTypescript RPC endpoint over HTTP and configures a custom `error_handler` in its `typescript_rpc` domain section for redaction or suppression."
                        }
                    ],
                    "value": "The application exposes an AshTypescript RPC endpoint over HTTP and configures a custom error_handler in its typescript_rpc domain section for redaction or suppression."
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "cpeMatch": [
                                {
                                    "criteria": "cpe:2.3:a:ash-project:ash_typescript:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "0.18.0",
                                    "versionStartIncluding": "0.8.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": "Torkild Gundersen Kjevik / Ash Project"
                },
                {
                    "lang": "en",
                    "type": "coordinator",
                    "value": "Jonatan Männchen / EEF"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>Generation of Error Message Containing Sensitive Information vulnerability in ash-project ash_typescript allows an unauthenticated attacker to receive unredacted internal error data by provoking an error shape the configured error handler does not match.</p>\n<p><code>apply_error_handler/3</code> in <code>lib/ash_typescript/rpc/errors.ex</code> is the only hook an application has for redacting or suppressing errors before they reach the client, with a <code>nil</code> return dropping the error entirely. Its <code>rescue</code> clause logs a warning and then returns the original, pre-handler error map. Error handlers are conventionally written as pattern-matching functions over expected error shapes, so an unmatched shape raises <code>FunctionClauseError</code> and the raw transformed error, including any secrets carried in <code>vars</code>, is emitted instead. An intent to suppress an error becomes an intent to publish it. The <code>rescue</code> catches exceptions only, so a handler that throws or exits still propagates.</p>\n<p>This issue affects ash_typescript: from 0.8.0 before 0.18.0.</p>"
                        },
                        {
                            "base64": false,
                            "type": "text/markdown",
                            "value": "Generation of Error Message Containing Sensitive Information vulnerability in ash-project ash_typescript allows an unauthenticated attacker to receive unredacted internal error data by provoking an error shape the configured error handler does not match.\n\n`apply_error_handler/3` in `lib/ash_typescript/rpc/errors.ex` is the only hook an application has for redacting or suppressing errors before they reach the client, with a `nil` return dropping the error entirely. Its `rescue` clause logs a warning and then returns the original, pre-handler error map. Error handlers are conventionally written as pattern-matching functions over expected error shapes, so an unmatched shape raises `FunctionClauseError` and the raw transformed error, including any secrets carried in `vars`, is emitted instead. An intent to suppress an error becomes an intent to publish it. The `rescue` catches exceptions only, so a handler that throws or exits still propagates.\n\nThis issue affects ash_typescript: from 0.8.0 before 0.18.0."
                        }
                    ],
                    "value": "Generation of Error Message Containing Sensitive Information vulnerability in ash-project ash_typescript allows an unauthenticated attacker to receive unredacted internal error data by provoking an error shape the configured error handler does not match.\n\napply_error_handler/3 in lib/ash_typescript/rpc/errors.ex is the only hook an application has for redacting or suppressing errors before they reach the client, with a nil return dropping the error entirely. Its rescue clause logs a warning and then returns the original, pre-handler error map. Error handlers are conventionally written as pattern-matching functions over expected error shapes, so an unmatched shape raises FunctionClauseError and the raw transformed error, including any secrets carried in vars, is emitted instead. An intent to suppress an error becomes an intent to publish it. The rescue catches exceptions only, so a handler that throws or exits still propagates.\n\nThis issue affects ash_typescript: from 0.8.0 before 0.18.0."
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-54",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-54 Query System for Information"
                        }
                    ]
                }
            ],
            "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": "NONE",
                        "userInteraction": "NONE",
                        "valueDensity": "NOT_DEFINED",
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/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": {
                "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
                "shortName": "EEF",
                "dateUpdated": "2026-09-01T02:08:54.754Z"
            },
            "references": [
                {
                    "tags": [
                        "related",
                        "vendor-advisory"
                    ],
                    "url": "https://github.com/ash-project/ash_typescript/security/advisories/GHSA-mjr7-r3rf-x963"
                },
                {
                    "tags": [
                        "related"
                    ],
                    "url": "https://cna.erlef.org/cves/CVE-2026-77950.html"
                },
                {
                    "tags": [
                        "related"
                    ],
                    "url": "https://osv.dev/vulnerability/EEF-CVE-2026-77950"
                },
                {
                    "tags": [
                        "patch"
                    ],
                    "url": "https://github.com/ash-project/ash_typescript/commit/59d8e985a98cf2e01794dbe5b919b897a95311f4"
                }
            ],
            "source": {
                "discovery": "EXTERNAL"
            },
            "title": "RPC error handler fails open in AshTypescript, disclosing unredacted errors"
        }
    }
}