CVE-2026-91987
JSON

7.1high

atomic-agents-stack before 1.1.0 Cost Guardrail Bypass via Unknown Model

Severity
7.1high CVSS:4.0 by VulnCheck
Exploit likelihood
0.48% (higher than 33% of CVEs)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-j659-8xh6-5pq5

Description

atomic-agents-stack before 1.1.0 contains a cost-guardrail bypass in the _estimate_batch_cost function that returns zero cost for unknown models not in the pricing table. Attackers can configure deployments with unknown model identifiers to bypass daily cost caps and exceed budget limits in parallel batch operations.

Affected

Product or packageVersionsReported by
dep0we atomic-agents-stackbefore 1.1.0
Not affected: 1.1.0
CVE List
atomic-agents-stack (PyPI)before 1.1.0GitHub Advisory Database

All scores

VulnCheck7.1high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
VulnCheck6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Classification

CWE-770

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

atomic-agents-stack before 1.1.0 contains a cost-guardrail bypass in the _estimate_batch_cost function that returns zero cost for unknown models not in the pricing table. Attackers can configure deployments with unknown model identifiers to bypass daily cost caps and exceed budget limits in parallel batch operations.

GitHub Advisory Database

_estimate_batch_cost (atomic_agents/agent.py) looks up the per-model output price with PRICING.get(model, {}), returning 0.0 for any model not in the hardcoded pricing table. _check_batch_reservation then early-returns when the reservation is <= 0, skipping the batch reservation entirely. That reservation is the only defense against the documented fan-out race where every parallel helper/delegate reads the identical pre-batch on-disk cost total and each passes its individual check even though the collective spend overruns the configured cap.

Impact: an operator running any model not in the pricing table (self-hosted/Ollama/vLLM, a new provider SKU) with cost_guardrails + daily_cap_usd set believes the cap protects them, but a single parallel batch can blow past the cap. The parallel-helper model argument can also be steered to an unknown id. The sibling dream._estimate_dream_cost does this correctly (PRICING.get(model, _fallback_pricing())), which makes this a clear defect.

Affected: agent.py (_estimate_batch_cost / _check_batch_reservation), all versions through 1.0.0.

Fix: use PRICING.get(model, _costs._fallback_pricing())['output'] (mirror dream/calc_cost). Add a conformance test asserting an unknown-model batch reserves > 0 and that an over-cap unknown-model batch raises CostGuardrailBlocked.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-91987 changed 2026-09-17CVE Terms of Use
GitHub Advisory DatabaseGHSA-j659-8xh6-5pq5 changed 2026-09-16CC-BY-4.0
NVDCVE-2026-91987 changed 2026-09-24Public domain