CRLF vulnerability in Fiber
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
Summary
In Fiber before version 1.12.6, the filename that is given in c.Attachment() (https://docs.gofiber.io/ctx#attachment) is not escaped, and therefore vulnerable for a CRLF injection attack. I.e. an attacker could upload a custom filename and then give the link to the victim. With this filename, the attacker can change the name of the downloaded file, redirect to another site, change the authorization header, etc. A possible workaround is to serialize the input before passing it to ctx.Attachment().
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| gofiber | fiber | before 1.12.6 | 1.12.6 | Patch available | CNA |
| — | github.com/gofiber/fiber (Go) | before 1.12.6 | 1.12.6 | Patch available | GHSA-9cx9-x2gp-9qvh |
- fiber Vendorgofiber Affected before 1.12.6 Fixed in 1.12.6 Patch available CNA
- github.com/gofiber/fiber (Go) Vendor— Affected before 1.12.6 Fixed in 1.12.6 Patch available GHSA-9cx9-x2gp-9qvh
Remediation
- Fix · CNA fiber (gofiber) Fixed in 1.12.6
- Fix · GHSA-9cx9-x2gp-9qvh github.com/gofiber/fiber (Go) Fixed in 1.12.6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2020-15111
- 2026-10-03 Alias added: GHSA-9cx9-x2gp-9qvh
References
Advisory 2
More gofiber Fiber vulnerabilities
- TI-2025-34555 Fiber Susceptible to Crash via `BodyParser` Due to Unvalidated Large Slice Index in Decoder CVSS 4.0HIGH 8.7
- TI-2024-16578 Fiber has Insecure CORS Configuration, Allowing Wildcard Origin with Credentials CVSS 3.1CRITICAL 9.8
- TI-2025-30446 Fiber panics when fiber.Ctx.BodyParser parses invalid range index CVSS 4.0HIGH 7.7
- TI-2026-23477 github.com/gofiber/fiber/v3 cache middleware can mix responses across query parameters CVSS 3.1MEDIUM 6.5
- TI-2026-20922 Fiber has a Denial of Service Vulnerability via Route Parameter Overflow CVSS 4.0MEDIUM 5.5
- TI-2026-30834 Fiber: XSS in AutoFormat Content Negotiation CVSS 4.0MEDIUM 5.3
Sources
- CVE-2020-15111 · CVE Program
- CVE-2020-15111 · NVD
- FIRST EPSS
- GHSA-9cx9-x2gp-9qvh · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences