CVE-2022-50954 WordPress Plugin cab-fare-calculator 1.0.3 Local File Inclusion

Medium 6.9 Published Updated

Unauthenticated attackers can read arbitrary files via path traversal in the controller parameter of the cab-fare-calculator WordPress plugin.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-50954?

CVE-2022-50954 is a medium-severity path traversal vulnerability in cab-fare-calculator, published on 10 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

WordPress Plugin cab-fare-calculator 1.0.3 contains a local file inclusion vulnerability that allows unauthenticated attackers to read arbitrary files by manipulating the controller parameter in tblight.php. Attackers can supply path traversal sequences through the controller GET parameter to include arbitrary files outside the intended controllers directory.

Weakness: CWE-98

Which versions are affected by CVE-2022-50954?

How do I fix CVE-2022-50954?

No fix has been published for CVE-2022-50954 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-2022-50954 being exploited?

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

Sources

Also known as GHSA-f2mj-c62f-whc5.

Is CVE-2022-50954 in your software?

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

Check your SBOMs for free