Infisical: Redirect-Based SSRF in the Webhook Handler (CWE-918) | Whitenbaker Labs

Advisory · CWE-918 Remediated

Redirect-based SSRF in the Infisical webhook handler

The webhook handler validated a user-supplied URL against internal ranges — but only the first URL, then sent the request with a client that follows redirects. A public host could answer with a redirect to the cloud metadata endpoint, and the check was already behind it.

Severity High Class SSRF · CWE-918 (redirect bypass) Fixed v0.159.10 Status Remediated · researcher credited
01

At a glance

CVERequested from MITRE · submitted, awaiting assignment
ClassCWE-918 — Server-Side Request Forgery (redirect bypass)
SeverityHigh (researcher assessment; CVSS vector pending)
AffectedInfisical before v0.159.10
Fixedv0.159.10 — released 2026-04-14 (commit 35ed2744, 2026-04-10, PR #6004)
VendorInfisical Inc. — open-source secrets-management platform
VectorRemote · requires an authenticated user
StatusRemediated · Drew Morana credited in the v0.159.10 release notes
ResearcherDrew Morana (@dmorana) · Whitenbaker Labs

The check that only guarded the front door

The handler checked the first URL and trusted everything after it. The fix the codebase needed was already written elsewhere in the same codebase — the webhook path just never called it.

02

What goes wrong

The webhook handler validated a user-supplied URL against private and internal IP ranges — but only on the initial URL. It then issued the request with a client configured to follow HTTP redirects, up to five hops, and the redirect destination was never re-validated.

  • An authenticated user registers a webhook pointing to a public host that passes validation.
  • The server answers with an HTTP 302 redirect to an internal address — 169.254.169.254, 127.0.0.1, or a 10.0.0.0/8 host.
  • The default client follows the redirect, and the internal destination is never checked.
  • Confirmed against Infisical Cloud on 2026-04-03, observing the server follow the redirect to an arbitrary destination.

Root cause

The codebase already contained a redirect-safe request helper — one that disables redirects and re-validates before each hop. The webhook handler simply did not use it.

03

Impact

An authenticated user could make the server reach the addresses it was built to refuse.

In the vulnerable window, an authenticated user could make the server contact internal services and cloud metadata endpoints — a path to disclosure of credentials and configuration in cloud deployments.

04

Disclosure timeline

  • 03 Apr 2026, 10:51 ETReported to security@infisical.com with file, function, line, and a one-line fix — confirmed against Infisical Cloud.
  • 03 Apr 2026, 11:11 ETVendor replied that the issue was already addressed. The commit history shows otherwise.
  • 10 Apr 2026Fix committed — seven days after the report.
  • 14 Apr 2026Fix shipped in v0.159.10.
  • 06 May 2026Vendor acknowledged in writing that the April 3 reply was inaccurate and the fix came after the report.
  • PendingCVE requested from MITRE.
05

Remediation

Upgrade to v0.159.10 or later. The fix hardened the webhook handler in PR #6004 (commit 35ed2744). Operators needing remediation guidance can contact Whitenbaker Labs.

Whitenbaker Labs

Independent adversarial security research — silent-patch detection, CVE disclosure through MITRE, and the evidence behind both.

Research by Drew Morana (@dmorana) · Toronto

We don’t file reports. We prove findings.

Published for coordinated disclosure and defensive purposes. Findings confirmed against Infisical Cloud, the public commit history, and the vendor’s written correspondence.

© 2026 Whitenbaker Labs
research@whitenbaker.com · PGP on request