Disclosed weakness · no CVE recorded
OpenClaw long provider errors could stall the shared Gateway
OpenClaw · OpenClaw provider-error classification and redaction
First documented disclosure · Review checkpoint
Summary
A failed model request with a long structured error string could block other Gateway work.
Severity and exploitation evidence
No CVSS score recorded in this review.
Exploitation not established: The reviewed public originals establish a reported correction or author-controlled demonstration, not malicious exploitation or identified victims. No product, model, package, exploit or proof of concept was executed in this review.
Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.
How the weakness works
Three regular expressions in model-retirement detection, failover policy and credential-header redaction repeatedly scan a long id-like run, producing quadratic work. Redaction runs on the Gateway main thread.
Conditions required
A configured provider, proxy or local model server returns a large error body containing the triggering id-like pattern. The original does not establish that an arbitrary remote user can control a trusted provider’s error body.
Potential impact
Other sessions, channels, the Control UI and health checks can temporarily stall. The author’s controlled 64000-character error caused about 20 seconds of health-check delay; no data disclosure or persistent outage is established.
Affected versions and configurations
The author demonstrates main cb8c849 and later pre-fix source comparisons. Complete affected package-version bounds are unverified.
Fix and mitigation status
Stable 2026.12.2 contains the inspected suffix-first retirement checks and header-name-first redaction correction. The first fixed stable release was not established.
Practical next steps
Update to a release with all three corrections and bound error data from providers and proxies.
Operating lesson
Error handling and credential masking need bounded computational cost on hostile input.
Evidence and limits
PR 197547 opened November 12 and merged December 2. Full report, complete seven-file diff and all three corrected production functions in stable 2026.12.2 were reviewed. The timing and differential-fuzz results are the author’s controlled evidence, not independently rerun here. The first public report date is retained rather than using the later release date. No CVE or numeric severity is assigned. December 5 review reuses the frozen December 4 originals with their original retrieval timestamps; selected release/remediation states were checked again.
Sources
- Original provider-error stall report and correction
Primary source ·
- Stable release includes provider-error correction
Primary source ·
- Stable credential-redaction correction
Primary source ·