CVE-2026-29794: Vikunja has Rate-Limit Bypass for Unauthenticated Users via Spoofed Headers

Published Mar 20, 2026
·
Updated

Summary Unauthenticated users are able to bypass the application's built-in rate-limits by spoofing the X-Forwarded-For or X-Real-IP headers due to the rate-limit relying on the value of (echo.Context).RealIP.

Details In the first file below, the rate-limit for unauthenticated users can be observed being populated with the ip value. In the second file, it shows it using the c.RealIP() function for the ip case. Due to this, the rate-limit will rely on the value of one of the two mentioned headers (X-Forwarded-For or X-Real-IP). These can be spoofed by users client-side in order to completely bypass any unauthenticated rate-limits in place.

Some reverse proxies like Traefik will overwrite this value by default, but others will not, leaving any deployment that either isn't using a reserve proxy that specifically overwrites the header's value or isn't using a reverse proxy vulnerable.

File 1: pkg\routes\routes.go:318 go // This is the group with no auth // It is its own group to be able to rate limit this based on different heuristics n := a.Group("") setupRateLimit(n, "ip")

// Docs n.GET("/docs.json", apiv1.DocsJSON) n.GET("/docs", apiv1.RedocUI)

// Prometheus endpoint setupMetrics(n)

// Separate route for unauthenticated routes to enable rate limits for it ur := a.Group("") rate := limiter.Rate{ Period: 60 time.Second, Limit: config.RateLimitNoAuthRoutesLimit.GetInt64(), } rateLimiter := createRateLimiter(rate) ur.Use(RateLimit(rateLimiter, "ip")) File 2: pkg\routes\ratelimit.go:41 go // RateLimit is the rate limit middleware func RateLimit(rateLimiter limiter.Limiter, rateLimitKind string) echo.MiddlewareFunc { return func(next echo.HandlerFunc) echo.HandlerFunc { return func(c echo.Context) (err error) { var rateLimitKey string switch rateLimitKind { case "ip": rateLimitKey = c.RealIP() case "user": auth, err := auth2.GetAuthFromClaims(c) if err != nil { log.Errorf("Error getting auth from jwt claims: %v", err) } rateLimitKey = "user" + strconv.FormatInt(auth.GetID(), 10) default: log.Errorf("Unknown rate limit kind configured: %s", rateLimitKind) }

PoC 1. Download and run the default docker compose file via the instructions here: https://vikunja.io/install/. Do not configure a proxy. 2. Once running, navigate to the application in a web browser that is using a web proxy, such as Burp Suite. 3. Attempt to authenticate to the application with an invalid username and password. 4. In the web proxy's logs, locate the request to the /api/v1/login endpoint. Observe that the response contains rate-limit details: http HTTP/1.1 403 Forbidden Cache-Control: no-store Content-Type: application/json Vary: Origin X-Ratelimit-Limit: 10 X-Ratelimit-Remaining: 9 X-Ratelimit-Reset: 1772224455 Date: Fri, 27 Feb 2026 20:33:16 GMT Content-Length: 54

{"code":1011,"message":"Wrong username or password."} 5. Add the X-Forwarded-For header with an arbitrary value, like so: X-Forwarded-For: FakeValue. Send the request 10 times, or until the rate-limit is at zero. 6. Modify the X-Forwarded-For headers value to be different, like so: X-Forwarded-For: NewValue. 7. Observe that the X-Ratelimit-Remaining header's value has reset its countdown and is back at 9.

Impact Unauthenticated users can abuse endpoints available to them for different potential impacts. The immediate concern would be brute-forcing usernames or specific accounts' passwords. This bypass allows unlimited requests against unauthenticated endpoints.

Other sources

Vikunja is an open-source self-hosted task management platform. Starting in version 0.8 and prior to version 2.2.0, unauthenticated users are able to bypass the application's built-in rate-limits by spoofing the X-Forwarded-For or X-Real-IP headers due to the rate-limit relying on the value of (echo.Context).RealIP. Unauthenticated users can abuse endpoints available to them for different potential impacts. The immediate concern would be brute-forcing usernames or specific accounts' passwords. This bypass allows unlimited requests against unauthenticated endpoints. Version 2.2.0 patches the issue.

MITRE

Affected Software

3 affected componentsFixes available
Vikunja Vikunja>=0.8<2.2.0
go/code.vikunja.io/api>=0.8<2.2.0
2.2.0
Vikunja Vikunja>=0.8<2.2.0

Event History

Mar 20, 2026
CVE Published
via MITRE·02:39 PM
Data Sourced
via MITRE·02:39 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·02:41 PM
Data Sourced
via GitHub·02:41 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via NVD·03:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-29794?

The severity of CVE-2026-29794 is considered high due to the potential for unauthenticated users to bypass rate-limiting protections.

2

How do I fix CVE-2026-29794?

To fix CVE-2026-29794, upgrade Vikunja to version 2.2.0 or later to ensure the proper handling of rate limits.

3

What software is affected by CVE-2026-29794?

CVE-2026-29794 affects Vikunja versions from 0.8 to 2.2.0.

4

What is the impact of CVE-2026-29794?

The impact of CVE-2026-29794 allows attackers to abuse the service by spoofing headers, effectively bypassing restrictions meant to mitigate abuse.

5

Can I mitigate CVE-2026-29794 without upgrading?

Mitigating CVE-2026-29794 without upgrading is not recommended as the core issue lies in how the application processes IP addresses for rate limiting.

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