# pREST vulnerable to jwt bypass + sql injection

Source: https://junglewise.ai/threats/prest-vulnerable-to-jwt-bypass-sql-injection-bca429db  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-07-30  
License: CC BY 4.0 with a link back

Severity: low · CVSS 3.1 · Published 2024-07-30

pREST vulnerable to jwt bypass + sql injection

Technologies: [github.com/prest/prest (Go)](https://junglewise.ai/threats/technologies/github-com-prest-prest). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Low severity, with a CVSS score of 3.1, published 30 July 2024.

**Which products and versions are affected?** github.com/prest/prest (Go) SEMVER:introduced=0,fixed=1.5.4.

**Is there a fix for This vulnerability?** Yes. github.com/prest/prest (Go): upgrade to 1.5.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run github.com/prest/prest (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/prest/prest (Go): upgrade to 1.5.4 or later

  ```sh
  go get github.com/prest/prest@v1.5.4
  ```


## Affected products

- github.com/prest/prest (Go) SEMVER:introduced=0,fixed=1.5.4

## Related threats

- [GO-2025-3941 - pREST has a Systemic SQL Injection Vulnerability in github.com/prest/prest](https://junglewise.ai/threats/cve-2025-58450-prest-has-a-systemic-sql-injection-vulnerability)
- [GO-2024-3011 - pREST vulnerable to jwt bypass + sql injection in github.com/prest/prest](https://junglewise.ai/threats/go-2024-3011-prest-vulnerable-to-jwt-bypass-sql-injection-in-github-com-0c5ffb36)
