xiaoyunjie openvpn-cms-flask up to 1.2.7 File Upload controller.py upload image path traversal

Summaryinfo

A vulnerability, which was classified as critical, was found in xiaoyunjie openvpn-cms-flask up to 1.2.7. This impacts the function Upload of the file app/plugins/oss/app/controller.py of the component File Upload. Executing a manipulation of the argument image can lead to path traversal. This vulnerability is tracked as CVE-2025-6776. The attack can be launched remotely. Moreover, an exploit is present. You should upgrade the affected component.

Detailsinfo

A vulnerability classified as critical was found in xiaoyunjie openvpn-cms-flask up to 1.2.7. This vulnerability affects the function upload of the file app/plugins/oss/app/controller.py of the component File Upload. The manipulation of the argument image with an unknown input leads to a path traversal vulnerability. The CWE definition for the vulnerability is CWE-22. The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. As an impact it is known to affect confidentiality, integrity, and availability.

The advisory is shared for download at github.com. This vulnerability was named CVE-2025-6776. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details and also a public exploit are known. The MITRE ATT&CK project declares the attack technique as T1006.

It is possible to download the exploit at github.com. It is declared as proof-of-concept.

Upgrading to version 1.2.8 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch e23559b98c8ea2957f09978c29f4e512ba789eb6 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the vulnerability database at EUVD (EUVD-2025-19424). Once again VulDB remains the best source for vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒

CVSSv3info

VulDB Meta Base Score: 8.1
VulDB Meta Temp Score: 7.9

VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔒
VulDB Reliability: 🔍

NVD Base Score: 9.8
NVD Vector: 🔒

CNA Base Score: 7.3
CNA Vector: 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Path traversal
CWE: CWE-22
CAPEC: 🔒
ATT&CK: 🔒

Physical: No
Local: No
Remote: Yes

Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: openvpn-cms-flask 1.2.8
Patch: e23559b98c8ea2957f09978c29f4e512ba789eb6

Timelineinfo

06/27/2025 Advisory disclosed
06/27/2025 +0 days VulDB entry created
01/30/2026 +217 days VulDB entry last update

Sourcesinfo

Product: github.com

Advisory: 23
Status: Confirmed

CVE: CVE-2025-6776 (🔒)
GCVE (CVE): GCVE-0-2025-6776
GCVE (VulDB): GCVE-100-314092
EUVD: 🔒
scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 06/27/2025 13:08
Updated: 01/30/2026 03:05
Changes: 06/27/2025 13:08 (64), 06/28/2025 04:58 (1), 06/28/2025 09:30 (30), 01/30/2026 03:05 (12)
Complete: 🔍
Submitter: Tritium
Cache ID: 216::103

Submitinfo

Accepted

  • Submit #602374: xiaoyunjie openvpn-cms-flask 1.2.7 Arbitrary File Write (by Tritium)

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!