CVE-2021-47749 YouPHPTube <= 7.8 - Directory Traversal

High 8.7 Published Updated

Unauthenticated attackers can read arbitrary files via path traversal in the lang parameter, exposing sensitive data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-47749?

CVE-2021-47749 is a high-severity path traversal vulnerability in YouPHPTube, published on 13 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

YouPHPTube <= 7.8 contains a local file inclusion vulnerability that allows unauthenticated attackers to access arbitrary files by manipulating the 'lang' parameter in GET requests. Attackers can exploit the path traversal flaw in locale/function.php to include and view PHP files outside the intended directory by using directory traversal sequences.

Weakness: CWE-22

Which versions are affected by CVE-2021-47749?

It affects 1 product.

Products include Youphptube Youphptube.

How do I fix CVE-2021-47749?

No fix has been published for CVE-2021-47749 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2021-47749 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-47749 exists.

Sources

Also known as GHSA-wh68-5mwp-jcp3.

Is CVE-2021-47749 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free