GHSA-v828-m3pf-vq9q: High severity go/github.com/QuantumNous/new-api vulnerability

Published Aug 17, 2026
·
Updated

Summary

Unauthenticated payment webhook endpoints could read and log the entire request body before validating the webhook signature. When a payment webhook was enabled, an unauthenticated attacker could send oversized requests to public callback endpoints and force excessive memory use and log growth before the request was rejected.

Affected public endpoints included:

- POST /api/stripe/webhook - POST /api/creem/webhook - POST /api/waffo/webhook

This issue did not allow forging successful payments, because signature validation still guarded the payment processing logic. The vulnerable behavior was the expensive unauthenticated request processing that occurred before signature validation.

Impact

A remote unauthenticated attacker could cause denial of service through memory pressure, container OOM/restarts, or disk consumption from full-body logging. The impact is availability-only and is rated High.

Affected versions

Versions before v1.0.0-rc.11 are affected. The earlier affected range of <= v1.0.0-rc.7 was incomplete; the anonymous request body limit was introduced later and first appears in v1.0.0-rc.11.

Patches

This issue is fixed in v1.0.0-rc.11. The fix adds middleware.AnonymousRequestBodyLimit() and applies it to unauthenticated POST routes, including the payment webhook callbacks. The default limit is controlled by ANONYMOUSREQUESTBODYLIMITKB and defaults to 512 KiB.

Workarounds

If upgrading immediately is not possible, operators should disable unused payment webhooks, enforce request body limits at a reverse proxy or load balancer, and ensure application and container logs have rotation and quotas. These mitigations reduce exposure but do not replace upgrading.

References

- Fixed by commit d2f7f9ee3adf3ef66798783a60d7bc712451c85c. - Relevant code paths: router/api-router.go, middleware/requestbodylimit.go, controller/topupstripe.go, controller/topupcreem.go, and controller/topupwaffo.go.

Affected Software

1 affected componentFixes available
go/github.com/QuantumNous/new-api<1.0.0-rc.11
1.0.0-rc.11

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/QuantumNous/new-api to a version that resolves this vulnerability.

    Fixed in 1.0.0-rc.11
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in v1.0.0-rc.11
  3. Configuration

    Set/confirm ANONYMOUS_REQUEST_BODY_LIMIT_KB to limit anonymous request body size (default described as 512 KiB) to reduce memory pressure and disk/log growth from oversized unauthenticated requests.

    Application (webhook endpoints) ANONYMOUS_REQUEST_BODY_LIMIT_KB = 512
  4. Configuration

    Disable any unused payment webhook endpoints (e.g., POST /api/creem/webhook, POST /api/stripe/webhook, POST /api/waffo/webhook) if upgrading immediately is not possible.

    Application (payment webhooks) webhook enablement = disabled
  5. Compensating control

    Enforce request body limits at a reverse proxy or load balancer for the affected public webhook routes to prevent oversized unauthenticated requests from reaching the application.

  6. Compensating control

    Ensure application and container logs have rotation and quotas to reduce disk consumption from full-body logging of oversized requests.

Event History

Aug 17, 2026
Advisory Published
via GitHub·04:35 PM
Data Sourced
via GitHub·04:35 PM
DescriptionSeverityWeaknessAffected 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-v828-m3pf-vq9q?

GHSA-v828-m3pf-vq9q has a severity rating of high at 7.5.

2

How do I fix GHSA-v828-m3pf-vq9q?

To fix GHSA-v828-m3pf-vq9q, implement validation checks for webhook signatures and restrict request sizes.

3

What impact does GHSA-v828-m3pf-vq9q have on payment processing?

GHSA-v828-m3pf-vq9q allows unauthenticated attackers to send oversized requests that could lead to excessive memory use and logging issues.

4

Which software is affected by GHSA-v828-m3pf-vq9q?

GHSA-v828-m3pf-vq9q affects the software package go/github.com/QuantumNous/new-api.

5

What kind of attacker can exploit GHSA-v828-m3pf-vq9q?

An unauthenticated attacker can exploit GHSA-v828-m3pf-vq9q by sending oversized requests to public callback endpoints.

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