CVE-2026-29199: phpBB Password Reset Link Poisoning via Host Header Injection

phpbb/phpbb Updated 18 Jun 2026

Summary

04/05/2026
Yes i
High
8.1

CVE-2026-29199: phpBB has Password Reset Link Poisoning via Host Header injection. Affects phpbb/phpbb across 2 version ranges.

>= 3.0.0, < 3.3.16 >= 4.0.0-a1, < 4.0.0-a2

Fixed in 3.3.16 or 4.0.0-a2, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

phpBB is a widely used open-source forum software that enables users to create and manage online discussion boards. It offers features such as user authentication, customizable themes, and extensive plugin support. However, prior to version 3.3.16, phpBB is vulnerable to a Host Header Injection issue that can compromise the security of password reset functionalities.

Vulnerability Detail

The vulnerability arises from phpBB's handling of the HTTP Host header when the 'force_server_vars' setting is disabled. In this scenario, the server's hostname is derived from the Host header, which is then used to generate password reset link URLs. An attacker can exploit this by manipulating the Host header, potentially leading to password reset emails containing links to an attacker-controlled domain. This could result in unauthorized access to user accounts and account takeover.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 3.0.0, < 3.3.16 3.3.16
    composer require phpbb/phpbb:3.3.16
  • >= 4.0.0-a1, < 4.0.0-a2 4.0.0-a2
    composer require phpbb/phpbb:4.0.0-a2

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary workaround, users can enable the 'force_server_vars' setting in their phpBB configuration. This will prevent the application from relying on the Host header for hostname extraction, thereby mitigating the risk of this vulnerability.

Conclusion

The vulnerability identified as CVE-2026-29199 poses a significant risk to phpBB installations prior to the patched versions. It is crucial for users to update their software to the latest versions to protect against potential account takeover attacks. Utilizing tools like Vulert can further enhance security by providing real-time monitoring for vulnerabilities.

See every vulnerability recorded for phpbb/phpbb →

Share this vulnerability

FAQ

Host Header Injection is a type of attack where an attacker manipulates the Host header in an HTTP request to influence the behavior of a web application, potentially leading to security vulnerabilities.

If exploited, this vulnerability can allow attackers to send password reset emails with links to malicious domains, leading to account takeover and unauthorized access to user accounts.

Versions of phpBB prior to 3.3.16 and 4.0.0-a2 are affected. You can check your version in the admin panel or by reviewing the composer.lock file.

If an immediate update is not possible, consider enabling the 'force_server_vars' setting as a temporary workaround to mitigate the risk of exploitation.

You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.

Related vulnerabilities

Recent vulnerabilities recorded for phpbb/phpbb.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 3.0.0, < 3.3.16 3.3.16
    composer require phpbb/phpbb:3.3.16
  • >= 4.0.0-a1, < 4.0.0-a2 4.0.0-a2
    composer require phpbb/phpbb:4.0.0-a2

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback