Vulnerabilities in pkg:golang/github.com/songquanpeng/one-api

PACKAGE
Advisory Identifier: GHSA-7v3v-cp44-vc8m
Advisory Summary

CVE-2026-11465 is a LOW (CVSS 3.1) songquanpeng one-api has an issue vulnerability (CWE-20: Improper Input Validation) affecting Github.com/songquanpeng/one api libraries in the Go ecosystem. The issue involves songquanpeng one-api has an issue that results in business logic errors. Remediation is available in the latest vendor maintenance releases.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/songquanpeng/one-api

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/songquanpeng/one-api. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-7v3v-cp44-vc8m CVE-2026-11465 LOW songquanpeng one-api has an issue that results in business logic errors
GHSA-wvcx-j62q-45qw CVE-2025-3801 MODERATE one-api Cross-site Scripting vulnerability

CVE-2026-11465 at a Glance

CVE Identifier CVE-2026-11465
GHSA Identifier GHSA-7v3v-cp44-vc8m
Severity LOW
CVSS v3.1 Base Score 3.1
CWE Classification CWE-20: Improper Input Validation
Affected Product Github.com/songquanpeng/one api
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 3.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2026-11465

To remediate this vulnerability, upgrade all affected Github.com/songquanpeng/one api dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/songquanpeng/one-api fixed: Latest secure release
Upgrade github.com/songquanpeng/one-api to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/songquanpeng/one-api

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-11465, inspect your project dependencies for Github.com/songquanpeng/one api:

inspect dependencies for github.com/songquanpeng/one-api

Analyze the terminal output to locate any version of Github.com/songquanpeng/one api in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Github.com/songquanpeng/one api, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A security flaw has been discovered in songquanpeng one-api up to 0.6.11-preview.7. Affected by this issue is the function Redeem of the file model/redemption.go of the component Redemption Code Top-Up Endpoint. The manipulation results in business logic errors. The attack may be launched remotely. The attack requires a high level of complexity. The exploitation is known to be difficult. The exploit has been released to the public and may be used for attacks. The pull request to fix this issue awaits acceptance.

CVE-2026-11465 Affected Github.com/songquanpeng/one api Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
github.com/songquanpeng/one-api
Go
≥ 0.1.6-alpha
≤ 0.6.11-preview.7

References

Frequently Asked Questions

What is CVE-2026-11465?
CVE-2026-11465 is a security vulnerability in Github.com/songquanpeng/one api involving songquanpeng one-api has an issue that results in business logic errors under CWE-20: Improper Input Validation.
Which Github.com/songquanpeng/one api versions are affected?
Affected versions include releases prior to current release patches across affected packages: github.com/songquanpeng/one-api.
What version fixes CVE-2026-11465?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/songquanpeng/one-api affected?
Yes, github.com/songquanpeng/one-api is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2026-11465?
CVE-2026-11465 has a CVSS v3.1 base score of 3.1 (LOW) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N.
What CWE is associated with CVE-2026-11465?
CVE-2026-11465 is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check Go dependencies for CVE-2026-11465?
Run the dependency tree command: 'inspect dependencies for github.com/songquanpeng/one-api'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-7v3v-cp44-vc8m",
  "modified" : "2026-07-28T20:03:15Z",
  "published" : "2026-06-08T00:30:25Z",
  "aliases" : [ "CVE-2026-11465" ],
  "summary" : "songquanpeng one-api has an issue that results in business logic errors",
  "details" : "A security flaw has been discovered in songquanpeng one-api up to 0.6.11-preview.7. Affected by this issue is the function Redeem of the file model/redemption.go of the component Redemption Code Top-Up Endpoint. The manipulation results in business logic errors. The attack may be launched remotely. The attack requires a high level of complexity. The exploitation is known to be difficult. The exploit has been released to the public and may be used for attacks. The pull request to fix this issue awaits acceptance.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/songquanpeng/one-api"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.1.6-alpha"
      }, {
        "last_affected" : "0.6.11-preview.7"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-11465"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/songquanpeng/one-api/issues/2397"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/songquanpeng/one-api/pull/2399"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/songquanpeng/one-api"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/cve/CVE-2026-11465"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/submit/833320"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/vuln/369085"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/vuln/369085/cti"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-28T20:03:15Z",
    "nvd_published_at" : "2026-06-07T23:16:42Z"
  }
}