CVE-2023-1070 External Control of File Name or Path in nilsteampassnet/teampass

High 7.1 Published Updated

An attacker can manipulate file names or paths to access or modify unauthorized files in TeamPass.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-1070?

CVE-2023-1070 is a high-severity path traversal vulnerability in Teampass Teampass, published on 27 Feb 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

External Control of File Name or Path in GitHub repository nilsteampassnet/teampass prior to 3.0.0.22.

Weakness: CWE-73

Which versions are affected by CVE-2023-1070?

2 open source packages ship an affected version, including nilsteampassnet/teampass. It affects 1 product.

PackageAffectedFixed in
nilsteampassnet/teampass PackagistAll versions3.0.0.23
nilsteampassnet/teampass PackagistAll versions3.0.0.23

Products include Teampass Teampass.

How do I fix CVE-2023-1070?

Upgrade nilsteampassnet/teampass to 3.0.0.23 or later.

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

Is CVE-2023-1070 being exploited?

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

All Teampass Teampass vulnerabilities

Sources

Also known as GHSA-x36g-4629-xp9v.

Is CVE-2023-1070 in your software?

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

Check your SBOMs for free