Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. web-auth/webauthn-symfony-bundle
  4. ›
  5. GHSA-q683-8468-r6h6

GHSA-q683-8468-r6h6: WebauthnAuthenticator leaks sensitive HTTP headers through INFO-level logs

June 26, 2026

Webauthn\Bundle\Security\Http\Authenticator\WebauthnAuthenticator logs the full Symfony\Component\HttpFoundation\Request object inside the log context of both onAuthenticationSuccess() and onAuthenticationFailure() at INFO level:

$this->logger->info('User has been authenticated successfully with Webauthn.', [
'request' => $request,
'firewallName' => $firewallName,
'identifier' => $token->getUserIdentifier(),
]);

$this->logger->info('Webauthn authentication request failed.', [
'request' => $request,
'exception' => $exception,
]);

Request::__toString() returns the raw HTTP message, including every request header. As soon as the configured logger normalises or stringifies the context (default behaviour for LineFormatter, JsonFormatter via NormalizerFormatter, etc.), sensitive headers such as Cookie (session identifier), Authorization and any custom auth header are written to the log stream in clear text.

Applications that forward logs to centralised platforms (ELK, Splunk, Datadog and similar) are particularly exposed: log access is typically broader than application access, which can allow log readers to hijack authenticated sessions.

References

  • github.com/advisories/GHSA-q683-8468-r6h6
  • github.com/web-auth/webauthn-framework/security/advisories/GHSA-q683-8468-r6h6

Code Behaviors & Features

Detect and mitigate GHSA-q683-8468-r6h6 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.3.4

Fixed versions

  • 5.3.4

Solution

Upgrade to version 5.3.4 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-532: Insertion of Sensitive Information into Log File

Source file

packagist/web-auth/webauthn-symfony-bundle/GHSA-q683-8468-r6h6.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 27 Jun 2026 12:16:16 +0000.