🛡️ CVE-2026-27480 — static-web-server

🟡 CVSS 5.3 — Medium ⚠️ Exploit Public CWE-204 OSV
5.3
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Static Web Server affected by timing-based username enumeration in Basic Authentication due to early response on invalid usernames

Summary

A Timing-based username enumeration in Basic Authentication vulnerability due to early response on invalid usernames could allow attackers to identify valid users and focus their efforts on targeted brute-force or credential-stuffing attacks.

Details

SWS validates the provided username before performing any password verification.

  • Invalid Username: The server returns a 401 Unauthorized response immediately.
  • Valid Username: The server proceeds to verify the password (e.g., using bcrypt), which introduces a different execution path and measurable timing discrepancy.

This allows an attacker to distinguish between existing and non-existing accounts by analyzing response times.

PoC

The following statistical results were obtained by measuring the mean response time over 100 iterations using a custom Rust script:

| User Type | Average Response Time |

| :--- | :--- |

| Invalid User | 0.409861 ms |

| Valid User | 0.250925 ms |

| Difference | ~0.158936 ms |

While the valid user responded faster in this specific test environment, the statistically significant gap confirms that the authentication logic does not execute in constant time.

Impact

Users using the SWS' Basic Authentication feature are primarily impacted.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity none, availability none.

Affected software

CVE-2026-27480 is recorded against 1 package.

  • static-web-server

Timeline and source

Published on 20 February 2026 and last revised on 17 June 2026. A public exploit is known to exist, which raises the urgency of patching considerably. A vendor advisory or fix has been published. Record sourced from OSV.

References

github.com (Web)
nvd.nist.gov (Advisory)
github.com (Web)
github.com (Package)

Details

Severity MEDIUM
CVSS Score 5.3
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CWE CWE-204
Public Exploit ⚠️ Yes
Source OSV
Published 2026-02-20
Updated 2026-08-12
Modified 2026-06-17

Affected Packages

Software From version Fixed in
static-web-server

Similar Threats

Exploit Protection

Are you running static-web-server?

CVE-2026-27480 carries CVSS 5.3 Medium rating and a public exploit already exists. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.

Check My Site For CVE-2026-27480 →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.