CVE-2026-73299

Source
https://cve.org/CVERecord?id=CVE-2026-73299
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-73299.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-73299
Aliases
Published
2026-08-12T17:31:38Z
Modified
2026-10-28T02:30:49Z
Severity
  • 10.0 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
Prompty: Server-Side Template Injection to Remote Code Execution in the @prompty/core Nunjucks Renderer
Details

Prompty is a markdown file format (.prompty) for LLM prompts. Prior to 0.1.5 and 2.0.0-beta.5, the TypeScript Nunjucks renderer evaluated untrusted .prompty template bodies with unrestricted JavaScript member access. An attacker-controlled template could traverse constructor and prototype properties to execute JavaScript in the host Node.js process. This issue is fixed in versions 0.1.5 and 2.0.0-beta.5.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-1336",
        "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73299.json"
}
References

Affected packages

Git / github.com/microsoft/prompty

Affected ranges

Type
GIT
Repo
https://github.com/microsoft/prompty
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "0.1.5"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "range": [
                {
                    "introduced": "2.0.0-alpha.1"
                },
                {
                    "fixed": "2.0.0-beta.5"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "range": [
                {
                    "fixed": "e4a0ebf49e3a78d5d7796c8480bf9a4f0c54d19e"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "f5c57c94a0990cca79d095c3daab661b4b1fb89f"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

csharp/2.*
csharp/2.0.0-alpha.1
csharp/2.0.0-alpha.10
csharp/2.0.0-alpha.11
csharp/2.0.0-alpha.2
csharp/2.0.0-alpha.6
csharp/2.0.0-alpha.7
csharp/2.0.0-alpha.8
csharp/2.0.0-alpha.9
csharp/2.0.0-beta.1
csharp/2.0.0-beta.2
csharp/2.0.0-beta.3
python/0.*
python/0.1.1
python/0.1.2
python/0.1.3
python/0.1.4
python/2.*
python/2.0.0a10
python/2.0.0a11
python/2.0.0a6
python/2.0.0a7
python/2.0.0a8
python/2.0.0a9
python/2.0.0b1
python/2.0.0b2
python/2.0.0b3
rust/2.*
rust/2.0.0-alpha.10
rust/2.0.0-alpha.11
rust/2.0.0-alpha.12
rust/2.0.0-alpha.8
rust/2.0.0-alpha.9
rust/2.0.0-beta.1
rust/2.0.0-beta.2
rust/2.0.0-beta.3
typescript/2.*
typescript/2.0.0-alpha.10
typescript/2.0.0-alpha.11
typescript/2.0.0-alpha.6
typescript/2.0.0-alpha.7
typescript/2.0.0-alpha.8
typescript/2.0.0-alpha.9
typescript/2.0.0-beta.1
typescript/2.0.0-beta.2
typescript/2.0.0-beta.3
typescript/2.0.0-beta.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-73299.json"