{"answers":{"affected":"2 open source packages ship an affected version, including web-auth/webauthn-symfony-bundle.","exploited":"There is no known exploitation of GHSA-q683-8468-r6h6 in the wild and no public exploit code.","fix":"Upgrade web-auth/webauthn-symfony-bundle to 5.3.4 or later.","what":"GHSA-q683-8468-r6h6 is a vulnerability in web-auth/webauthn-symfony-bundle, published on 26 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-q683-8468-r6h6 and fix it if it is affected.\n\nWhat it is: GHSA-q683-8468-r6h6 is a vulnerability in web-auth/webauthn-symfony-bundle, published on 26 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-q683-8468-r6h6 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- web-auth/webauthn-symfony-bundle (Packagist): affected all versions; fixed in 5.3.4\n- web-auth/webauthn-symfony-bundle (Packagist): affected all versions; fixed in 5.3.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-q683-8468-r6h6/ (Markdown: https://insights.sbomify.com/GHSA-q683-8468-r6h6/index.md)","id":"GHSA-q683-8468-r6h6","markdown":"https://insights.sbomify.com/GHSA-q683-8468-r6h6/index.md","name":"GHSA-q683-8468-r6h6","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"WebAuthn authentication library","requires_auth":"none","summary":"The WebauthnAuthenticator library logs full HTTP requests including sensitive headers, allowing attackers with log access to hijack sessions.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"## Impact\n\n`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:\n\n```php\n$this-\u003elogger-\u003einfo('User has been authenticated successfully with Webauthn.', [\n    'request' =\u003e $request,\n    'firewallName' =\u003e $firewallName,\n    'identifier' =\u003e $token-\u003egetUserIdentifier(),\n]);\n\n$this-\u003elogger-\u003einfo('Webauthn authentication request failed.', [\n    'request' =\u003e $request,\n    'exception' =\u003e $exception,\n]);\n```\n\n`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.\n\nApplications 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.\n\n## Affected versions\n\nEvery release prior to 5.3.4 is affected.\n\n## Patches\n\nThe fix removes the full `Request` object from the log context and keeps only non-sensitive fields (request path, method, firewall name, user identifier). It is shipped in 5.3.4. Older branches will not receive a backport; users on those branches should upgrade to 5.3.4+ or apply one of the workarounds below.\n\n## Workarounds\n\nUntil the upgrade is applied, projects can:\n\n1. Raise the minimum log level for the WebAuthn authenticator above INFO so these two log records are not emitted in production.\n2. Configure their Monolog processor/formatter to strip the `request` key from the context of these records before they are written.\n\n## Credit\n\nReported by Kay Joosten (Dawn Technology), maintainer of [Stepup-Webauthn](https://github.com/OpenConext/Stepup-Webauthn).","ecosystems":["Packagist"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"WebauthnAuthenticator leaks sensitive HTTP headers through INFO-level logs","id":"GHSA-q683-8468-r6h6","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"Packagist","fixed":["5.3.4"],"introduced":["0"],"last_affected":[],"package":"web-auth/webauthn-symfony-bundle","purl":null,"source":"GHSA-q683-8468-r6h6"},{"ecosystem":"Packagist","fixed":["5.3.4"],"introduced":["0"],"last_affected":[],"package":"web-auth/webauthn-symfony-bundle","purl":"pkg:composer/web-auth/webauthn-symfony-bundle","source":"GHSA-q683-8468-r6h6"}],"products":null,"published":"2026-06-26","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"The WebauthnAuthenticator library logs full HTTP requests including sensitive headers, allowing attackers with log access to hijack sessions.","url":"https://insights.sbomify.com/GHSA-q683-8468-r6h6/"}