CVE-2023-26153
CRITICAL 9.8CVSS 3.1geokit-rails Command Injection vulnerability
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.
- Published
- 6 Oct 2023
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-502CWE-77CWE-78
- Also known as
- GHSA-7xvc-v44j-46fh
- Sources
- NVDJSONOSV GHSA-7xvc-v44j-46fhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | geokit | geokit-railscpe:2.3:a:geokit:geokit-rails:*:*:*:*:*:rails:*:* |
< 2.5.0 | 2.5.0 |
| OSV | RubyGems | geokit-rails | < 2.5.0 | 2.5.0 |
References
- 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://security.snyk.io/vuln/SNYK-RUBY-GEOKITRAILS-5920323 · Exploit, Patch, Third Party Advisory, 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
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 6 Oct 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Oct 2023)