Intel

AIKIDO-2026-891012

oidcc_plug is vulnerable to Improper Handling of Case Sensitivity

Improper Handling of Case SensitivityCVE-2026-66883 Published Yesterday

63

Medium Risk

This Affects:

ELIXIRoidcc_plug
0.1.0 - 0.4.0
Fixed in 0.5.0
Are you affected? Scan for Free

TL;DR

Oidcc.Plug.Authorize records the request user agent for later session binding but reads the header with the mixed-case key User-Agent, which never matches Plug's downcased header names, so nil is stored in the session instead of the real value. On callback, Oidcc.Plug.AuthorizationCallback treats the stored nil as nothing to compare and returns success, so the user agent binding never fires even when check_useragent is enabled. The fix reads the header with the lowercase user-agent key so the stored value and comparison work.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you rely on the Oidcc.Plug.Authorize user agent session binding (check_useragent) as a session-replay defense.

Background info

oidcc_plug is vulnerable to Improper Handling of Case Sensitivity in versions 0.1.0 - 0.4.0.

How to fix this

Upgrade the oidcc_plug library to the patch version.