# CVE-2023-26153: geokit-rails Command Injection vulnerability

- Severity: High 8.3 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.85%, higher than 90% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2023-10-06T05:00:01.453Z
- Modified: 2026-06-17T05:42:47.800Z
- Also known as: GHSA-7xvc-v44j-46fh
- Weaknesses: CWE-77, CWE-78, CWE-502
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: snyk

## Description

Versions of the package geokit-rails before 2.5.0 are vulnerable to Command Injection due to unsafe deserialisation of YAML within the 'geo_location' cookie. This issue can be exploited remotely via a malicious cookie value.

**Note:**

 An attacker can use this vulnerability to execute commands on the host system.

(As written by CVE List.)

## Affected

- geokit-rails: before 2.5.0
- geokit-rails (RubyGems): before 2.5.0
- geokit geokit-rails: before 2.5.0

## Every score

- snyk: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L/E:P`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://security.snyk.io/vuln/SNYK-RUBY-GEOKITRAILS-5920323> (exploit, patch, third-party-advisory, web)
- <https://gist.github.com/CalumHutton/b7aa1c2e71c8d4386463ac14f686901d> (exploit, third-party-advisory, web)
- <https://github.com/geokit/geokit-rails/blob/master/lib/geokit-rails/ip_geocode_lookup.rb%23L37> (broken-link, web)
- <https://github.com/geokit/geokit-rails/commit/7ffc5813e57f6f417987043e1039925fd0865c43> (patch, web)
- <https://github.com/geokit/geokit-rails/commit/a93dfe49fb9aeae7164e2f8c4041450a04b5482f> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-26153> (advisory)
- <https://github.com/advisories/GHSA-7xvc-v44j-46fh> (advisory)
- <https://github.com/geokit/geokit-rails> (package)
- <https://github.com/geokit/geokit-rails/blob/master/lib/geokit-rails/ip_geocode_lookup.rb#L37> (web)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/geokit-rails/CVE-2023-26153.yml> (web)

## Sources

- CVE List: [CVE-2023-26153](https://www.cve.org/CVERecord?id=CVE-2023-26153), CVE Terms of Use, modified 2024-09-19
- GitHub Advisory Database: [GHSA-7xvc-v44j-46fh](https://github.com/advisories/GHSA-7xvc-v44j-46fh), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2023-26153](https://nvd.nist.gov/vuln/detail/CVE-2023-26153), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-26153 · Whole record: https://cve.day/CVE-2023-26153.json · Rebuilt by cve.day 2026-11-25T22:58:28.491Z
