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.
At a glance
| CVE | Requested from MITRE · submitted, awaiting assignment |
|---|---|
| Class | CWE-918 — Server-Side Request Forgery (redirect bypass) |
| Severity | High (researcher assessment; CVSS vector pending) |
| Affected | Infisical before v0.159.10 |
| Fixed | v0.159.10 — released 2026-04-14 (commit 35ed2744, 2026-04-10, PR #6004) |
| Vendor | Infisical Inc. — open-source secrets-management platform |
| Vector | Remote · requires an authenticated user |
| Status | Remediated · Drew Morana credited in the v0.159.10 release notes |
| Researcher | Drew 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.
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 a10.0.0.0/8host. - 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.
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.
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.
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.
