xiaoyunjie openvpn-cms-flask up to 1.2.7 File Upload controller.py upload image path traversal
Summary
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.
Details
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.
Product
Type
Vendor
Name
Version
License
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 8.1VulDB 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: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Path traversalCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: openvpn-cms-flask 1.2.8
Patch: e23559b98c8ea2957f09978c29f4e512ba789eb6
Timeline
06/27/2025 Advisory disclosed06/27/2025 VulDB entry created
01/30/2026 VulDB entry last update
Sources
Product: github.comAdvisory: 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
Entry
Created: 06/27/2025 13:08Updated: 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
Submit
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.
No comments yet. Languages: en.
Please log in to comment.