# GHSA-x7p5-p2c9-phvg: Unexpected database bindings

- Severity: High 7.2 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2021-02-02T15:47:08.000Z
- Modified: 2024-12-02T05:49:41.891Z
- Weaknesses: CWE-74

## Description

This is a follow-up to the previous security advisory (GHSA-3p32-j457-pg5x) which addresses a few additional edge cases.

If a request is crafted where a field that is normally a non-array value is an array, and that input is not validated or cast to its expected type before being passed to the query builder, an unexpected number of query bindings can be added to the query. In some situations, this will simply lead to no results being returned by the query builder; however, it is possible certain queries could be affected in a way that causes the query to return unexpected results.

(As written by GitHub Advisory Database.)

## Affected

- laravel/framework (Packagist): before 6.20.14; from 7.0.0 before 7.30.4; from 8.0.0 before 8.24.0
- illuminate/database (Packagist): before 6.20.14; from 7.0.0 before 7.30.4; from 8.0.0 before 8.24.0

## References

- <https://github.com/laravel/framework/security/advisories/GHSA-x7p5-p2c9-phvg> (web)
- <https://github.com/advisories/GHSA-3p32-j457-pg5x> (advisory)
- <https://packagist.org/packages/illuminate/database> (web)
- <https://packagist.org/packages/laravel/framework> (web)

## Sources

- GitHub Advisory Database: [GHSA-x7p5-p2c9-phvg](https://github.com/advisories/GHSA-x7p5-p2c9-phvg), CC-BY-4.0, modified 2024-12-02

---

Page: https://cve.day/GHSA-x7p5-p2c9-phvg · Whole record: https://cve.day/GHSA-x7p5-p2c9-phvg.json · Rebuilt by cve.day 2026-11-25T22:56:33.347Z
