arduino-esp32 is an Arduino core for the ESP32, ESP32-S2, ESP32-S3, ESP32-C3, ESP32-C6 and ESP32-H2 microcontrollers. Prior to 3.3.12 and in 4.0.0-alpha1, WebServer::authenticate(const char *username, const char *password) parses an arbitrary non-empty Authorization value matching the configured username as OTHER_AUTH, and the built-in plaintext authenticator returns the configured password instead of rejecting the unsupported scheme. A remote unauthenticated attacker can therefore access HTTP endpoints protected by WebServer::authenticate(username, password) or AuthenticationMiddleware with a plaintext password, potentially exposing or modifying configuration, credentials, administrative functions, or device controls. Custom authentication callbacks and authenticateBasicSHA1() are not affected. This issue is fixed in versions 3.3.12 and 4.0.0.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-287"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137179.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "3.3.12"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "4.0.0-alpha1"
},
{
"fixed": "4.0.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "5cdf8975ae8d9e35888b724b01a444d22406424e"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "3.3.12",
"range": [
{
"fixed": "94afccf35fb1e401facddbcf9e13bcf7c76a31d8"
}
],
"source": "REFERENCES_TAG"
}
]
}