# CVE-2016-6652

- Priority: **Routine**
- Reason: Not severe (CVSS 5.6, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2016-10-05 · Modified: 2024-08-06
- Aliases: GHSA-xr4v-28rm-pvgw
- Record: https://cvemate.com/vulnerability/CVE-2016-6652 · JSON: https://cvemate.com/vulnerability/CVE-2016-6652/json

## Description

```text
SQL injection vulnerability in Pivotal Spring Data JPA before 1.9.6 (Gosling SR6) and 1.10.x before 1.10.4 (Hopper SR4), when used with a repository that defines a String query using the @Query annotation, allows attackers to execute arbitrary JPQL commands via a sort instance with a function call.
```

## Signals

- CVSS: 6.8 medium (v2.0, NVD) AV:N/AC:M/Au:N/C:P/I:P/A:P
- EPSS: 0.822%, percentile 58.605%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- org.springframework.data spring-data-jpa (Maven): \< 1.9.6 \| ≥ 1.10.0, \< 1.10.4
- pivotal\_software spring\_data\_jpa: ≤ 1.9.4 \| 1.10.2

## References

- <http://www.securityfocus.com/bid/93276>
- <https://jira.spring.io/browse/DATAJPA-965>
- <https://pivotal.io/security/cve-2016-6652>
- <https://security.gentoo.org/glsa/201701-01>
- <https://github.com/spring-projects/spring-data-jpa/commit/b8e7fe>
- <https://nvd.nist.gov/vuln/detail/CVE-2016-6652>

---

Data as of 2026-12-05T08:25:42.952Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
