CVE-2026-7060 Details
Description
A vulnerability was determined in liyupi yu-picture up to a053632c41340152bf75b66b3c543d129123d8ec. This impacts the function PageRequest of the file yu-picture-backend/src/main/java/com/yupi/yupicturebackend/service/impl/PictureServiceImpl.java of the component MyBatis-Plus. Executing a manipulation of the argument sortField can lead to sql injection. The attack can be launched remotely. The exploit has been publicly disclosed and may be utilized. This product does not use versioning. This is why information about affected and unaffected releases are unavailable. Applying a patch is advised to resolve this issue. The project was informed of the problem early through a pull request but has not reacted yet.
A SQL injection vulnerability has been identified in Liyupi Yu-Picture versions up to a053632c41340152bf75b66b3c543d129123d8ec. The issue arises in the PictureServiceImpl.java file, specifically within the PageRequest function. The vulnerability is caused by the sortField parameter being passed directly to the MyBatis-Plus orderBy() method without proper validation or parameterization. This flaw allows remote attackers to manipulate the SQL ORDER BY clause, leading to arbitrary data extraction from the database. The vulnerability is present in multiple endpoints that are accessible without authentication.
A patch has been developed and is available as a pull request on the project's GitHub repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 26, 2026CISA-ADP
Assessed Apr 27, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/liyupi/yu-picture/ | [email protected] | ProductSource CodeVendor |
| https://github.com/liyupi/yu-picture/issues/4 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/liyupi/yu-picture/pull/3 | [email protected] | Issue TrackingVendor |
| https://vuldb.com/submit/798612 | [email protected] | Technical Description |
| https://vuldb.com/vuln/359633 | [email protected] | AdvisoryExploitRemedy |
| https://vuldb.com/vuln/359633/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| liyupi yu-picture | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Apr 26, 2026 | New CVE Received | [email protected] |
Volerion