CVE-2026-53998 — Phoenix: Format String Injection in arize-phoenix
Phoenix: Format String Injection in applyChatTemplate
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.66%). Schedule for your next planned update.
Does your project use an affected arize-phoenix version?
Paste your requirements.txt to check it for CVE-2026-53998 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
- Summary
A format string injection vulnerability in the applyChatTemplate GraphQL endpoint allows an attacker to read server-side environment variables, cryptographic secrets, and internal module attributes directly from the API response. On default Phoenix installations where authentication is disabled the endpoint is reachable with no credentials. On auth-enabled deployments, any account regardless of privilege level is sufficient to exploit it.
- Impact
Server filesystem paths, loaded Python module names, and internal configuration constants are fully disclosed, an attacker with network access can read the full server
os.environincluding the admin credentials hardcoded inphoenix.auth.
Successful exploitation allows an attacker to extract PHOENIX_SECRET, the master key used to sign all JWTs and derive the Fernet encryption key protecting stored credentials (LLM API keys, OAuth tokens). With this key, an attacker can forge admin-level session tokens and decrypt all secrets stored in the database.
- Affected Versions
First vulnerable release: arize-phoenix-v13.0.0 (2026-02-13) Latest confirmed vulnerable release: arize-phoenix-v14.8.0 (2026-04-17)
-
Affected Component
applyChatTemplateGraphQL query endpoint (src/phoenix/server/api/queries.py:1638)FStringTemplateFormatter._format()template rendering function (src/phoenix/utilities/template_formatters.py:272)DotDict.__getattr__()ineffective attribute access control (src/phoenix/utilities/template_formatters.py:90) -
Proof of Concept payload as txt with an image performing the exploit below.
-
Payload:
{
"query": "query($t: PromptChatTemplateInput!, $o: PromptTemplateOptions!) { applyChatTemplate(template: $t, templateOptions: $o) { messages { content { ... on TextContentPart { text { text } } } } } }",
"variables": {
"t": { "messages": [{ "role": "USER", "content": [{ "text": { "text": "{u.__class__.__bases__[0].__init__.__globals__[_os].environ}" } }] }] },
"o": { "format": "F_STRING", "variables": { "u": { "x": 1 } } }
}
}
- Suggested Fix
Three mitigations are recommended in combination: restrict attribute traversal at the Formatter.get_field() level (not the wrapper class), add IsAuthenticated permission to the applyChatTemplate resolver, and limit F_STRING format to trusted system-defined templates only.
Best Regards, Omar
Advisory Timeline
- First published November 17, 2026 (9 days ago).
- Last revised November 17, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip install "arize-phoenix>=15.7.0"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: PyPI (1).
| Package | Fixed In |
|---|---|
| arize-phoenix PyPI · Affected: 13.0.2, 13.0.3, 13.1.0, 13.1.1 (+55 more) | 15.7.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-134
- CWE-200Information ExposureMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 10.0 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L
References
- https://github.com/Arize-ai/phoenix/security/advisories/GHSA-gfv3-m769-5xm3WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-53998ADVISORY
- https://github.com/Arize-ai/phoenix/pull/13197WEB
- https://github.com/Arize-ai/phoenix/commit/e7224a685589f2ffae1fefcc68ff210bd6ad28b8WEB
- https://github.com/Arize-ai/phoenixPACKAGE
- https://github.com/Arize-ai/phoenix/releases/tag/arize-phoenix-v15.7.0WEB
Frequently Asked Questions
- What is CVE-2026-53998?
- Phoenix: Format String Injection in applyChatTemplate. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 10.0/10).
- How do I check if my project is affected by CVE-2026-53998?
- CVE-2026-53998 affects arize-phoenix. It has a 0.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-53998 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is a below-median EPSS score — only 46.3% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-77359CRITICAL
Jupyter MCP Server: Browser DNS rebinding can hijack the Jupyter backend through management routes
- CVE-2026-77312CRITICAL
Flyto2 Core: Arbitrary file write via unguarded data.*/file.* modules (incomplete fix of CVE-2026-67429)