---
id: "CVE-2026-130370"
page: "https://infrastack.ai/live/CVE-2026-130370"
kind: "vulnerability"
aliases: ["CVE-2026-130370"]
title: "phpMyFAQ: hijacked session can enroll passkeys for persistent login"
severity: "medium"
cvss: 4.2
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["package", "php", "phpmyfaq", "self-hosted", "webauthn"]
not_affected_if: ["auth-required", "unaffected-version"]
published_at: "2026-11-17T02:17:20+00:00"
first_seen_at: "2026-11-17T02:40:32+00:00"
updated_at: "2026-11-17T02:42:54+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-130370", "first_seen_at": "2026-11-17T02:40:32+00:00"}]
exploit_sources: []
---

# phpMyFAQ: hijacked session can enroll passkeys for persistent login

Link for people: https://infrastack.ai/live/CVE-2026-130370 (this .md is for agents)

phpMyFAQ versions 4.1.9 before 4.1.12 and 4.2.0-alpha before 4.2.0-RC.2 let anyone holding a hijacked session register new passkeys without re-authentication. An attacker who does this can replace the owner's passkeys and keep passwordless login even after the password changes.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed phpMyFAQ version in the application's `composer.json` or admin panel; affected versions are `4.1.9` to before `4.1.12` and `4.2.0-alpha` to before `4.2.0-RC.2`.
- Review web server logs for requests to `/api/webauthn/prepare` and `/api/webauthn/register` from unexpected sources.

## Fix

- phpMyFAQ `4.1.12` for the 4.1 line
- phpMyFAQ `4.2.0-RC.2` for the 4.2 pre-release line

## Timeline

- 2026-11-17T02:40:32+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-130370

## Documents

- [advisory] Vendor advisory: github.com https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-j9ww-3xr9-wg48
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/phpmyfaq-4.1.9-before-4.1.12-and-4.2.0-alpha-before-4.2.0-rc.2-passkey-enrollment-missing-step-up-authentication
- [fix] Patch: github.com https://github.com/thorsten/phpMyFAQ/commit/f8d650590a2989763be87d7096bb942b72a725f6
- [fix] Release notes: github.com https://github.com/thorsten/phpMyFAQ/releases/tag/4.1.12
- [fix] Release notes: github.com https://github.com/thorsten/phpMyFAQ/releases/tag/4.2.0-RC.2

## From the sources

phpMyFAQ 4.1.9 before 4.1.12 and 4.2.0-alpha before 4.2.0-RC.2 contains a missing authentication vulnerability that allows attackers holding a hijacked session to enroll passkeys using only the session and webauthn CSRF token. Attackers can call /api/webauthn/prepare and /api/webauthn/register to replace the owner's passkeys, gaining persistent passwordless login that survives password changes and resets.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
