Phoenix: Format String Injection in applyChatTemplate
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in arize-phoenix 15.7.0.
Phoenix is an AI observability and evaluation platform. From 13.0.0 until 15.7.0, the applyChatTemplate GraphQL query passed attacker-controlled F-string templates to FStringTemplateFormatter._format, while DotDict.__getattr__ did not prevent traversal through Python private attributes. A crafted field could traverse object internals such as __class__, __init__, and __globals__ to read process environment variables and internal module state. The endpoint is unauthenticated on default installations, and any account can reach it when authentication is enabled. Exposure of PHOENIX_SECRET can allow administrative session-token forgery and decryption of credentials protected by keys derived from that secret. This issue is fixed in version 15.7.0.
Briefing
Written from the sources below · deepseek-v4.1-flash
Phoenix versions 13.0.0 through 15.7.0 pass attacker-controlled F-string templates in the applyChatTemplate GraphQL query to FStringTemplateFormatter._format, and DotDict.__getattr__ allows traversal through private attributes like __class__ and __globals__. This can expose process environment variables such as PHOENIX_SECRET; the endpoint is unauthenticated by default and reachable by any account when authentication is enabled.
Why it mattersUnauthenticated attackers can read PHOENIX_SECRET, enabling session-token forgery and credential decryption; treat exposed secrets as compromised.
ActionUpgrade Phoenix to 15.7.0 or later; if unable, restrict access to the applyChatTemplate GraphQL endpoint.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Arize-ai | >=13.0.0 <15.7.0 | ||
| pypi: arize-phoenix | >=13.0.0 <15.7.0 | 15.7.0 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket