GHSA-j659-8xh6-5pq5: Pip/atomic-agents-stack vulnerability

Published Aug 17, 2026
·
Updated

estimatebatchcost (atomicagents/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. checkbatchreservation 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 costguardrails + dailycapusd 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.estimatedreamcost does this correctly (PRICING.get(model, fallbackpricing())), which makes this a clear defect.

Affected: agent.py (estimatebatchcost / checkbatchreservation), all versions through 1.0.0.

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

Affected Software

1 affected componentFixes available
pip/atomic-agents-stack<=1.0.0
1.1.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/atomic-agents-stack to a version that resolves this vulnerability.

    Fixed in 1.1.0
  2. Configuration

    Ensure that over-cap batches for unknown/untabled models are blocked (raise `CostGuardrailBlocked`) rather than being allowed due to the reservation being skipped/<= 0.

    Cost guardrails (cost_guardrails + daily_cap_usd) CostGuardrailBlocked blocking behavior = enforce
  3. Operational

    Add the requested conformance test: assert that an unknown-model batch reserves > 0, and that an over-cap unknown-model batch raises `CostGuardrailBlocked`. Also add coverage that the parallel-helper `model` argument can be steered to an unknown id.

Event History

Aug 17, 2026
Advisory Published
via GitHub·09:50 PM
Data Sourced
via GitHub·09:50 PM
DescriptionWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of GHSA-j659-8xh6-5pq5?

The severity of GHSA-j659-8xh6-5pq5 is assessed as 45.

2

How do I fix GHSA-j659-8xh6-5pq5?

To fix GHSA-j659-8xh6-5pq5, you should update to the latest version of the atomic-agents-stack package.

3

What component is affected by GHSA-j659-8xh6-5pq5?

The GHSA-j659-8xh6-5pq5 vulnerability affects the `_estimate_batch_cost` function in the `atomic_agents/agent.py` file.

4

What is the cause of GHSA-j659-8xh6-5pq5?

GHSA-j659-8xh6-5pq5 is caused by the `_check_batch_reservation` function returning early when the price is 0.0 for models not present in the pricing table.

5

When was GHSA-j659-8xh6-5pq5 published?

GHSA-j659-8xh6-5pq5 was published on August 17, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203