{"vuln_id":"CVE-2026-103035","aliases":["GHSA-66q9-mxf2-xqw6"],"description":"TeamPass folder re-parenting authorization bypass","published_at":"2026-11-19T19:17:16.583000Z","modified_at":"2026-11-20T15:00:07.568772Z","first_seen_at":"2026-11-21T19:15:19.285356Z","severity":"high","severity_source":"nvd","cvss_score":8.3,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H","cwe":["CWE-639","CWE-862"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00354,"epss_percentile":0.29742,"nvd_status":"Received","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-103035"},"matched_alias":null,"items":[{"id":11085,"source":{"id":"osv","name":"OSV.dev"},"title":"GHSA-66q9-mxf2-xqw6: TeamPass folder re-parenting authorization bypass","summary":"TeamPass folder re-parenting authorization bypass\n\n## Summary\n\nMissing authorization in the update_folder action: any authenticated non-read-only user can rename, re-parent and convert to personal any folder in the instance, moving another team's credential subtree into their own personal space and removing it from the organization. Confirmed at HEAD 2f271cdd (3.2.1.1), and present at 3.1.3.1 and 3.1.7.6.\n\n## The defect\n\nThe folder-management endpoint dispatches an update_folder action that renames and re-parents a folder. Unlike its sibling actions in the same file, it never checks the edited folder id or the submitted parent id against the caller's accessible-folder set, and the file itself performs no session/authorization gate at all. By pointing the new parent at their own personal folder, an authenticated low-privilege user takes ownership of any folder in the instance.\n\napp/sources/folders.queries.php:\n- The file never calls the session/authorization helpers: a grep for checkSession and userAccessPage across the whole file returns zero hits.\n- case 'update_folder' (lines 294-662) contains no reference to the caller's user-accessible_folders set. The only access-related logic is the personal-folder computation at lines 428-468 and the guard at line 503, which short-circuits on `(int) $isPersonal === 1`.\n- The sibling actions do carry the check: case 'add_folder' validates against user-accessible_folders at line 743, case 'delete_folders' at line 904, and case 'copy_folder' applies the equivalent parent check.\n\nSo update_folder is the one folder-mutating action in the file without an authorization predicate on either the target folder id or the new parent id.\n\n## Attacker model and trace\n\nAn authenticated TeamPass user who is not read-only (no administrative role required). The attacker submits update_folder with the victim folder's id and a parentId pointing at their own personal folder. Because the new parent is personal, the personal-folder computation sets $isPersonal = 1, which satisfies the line 503 guard, and the update writes the new parent and personal_folder = 1 for the target folder.\n\nConsequences: the stolen subtree is added to the attacker's accessible set on their next login, so the item list renders for them, and do_items_list_in_folder exposes the plaintext label, login, url, email and description of every credential in that subtree (item passwords stay sharekey-protected, hence C:L). Because the folder is now flagged personal, it disappears from the organization view for everyone else including administrators (the admin listing selects only personal_folder = 0), so this is also a denial of access to the real owners.\n\n## Verification\n\nSource-verified at HEAD: no session/authorization helper anywhere in the file; the update_folder case contains no accessible-folders predicate while add_folder, delete_folders and copy_folder do; the personal-folder short-circuit at line 503. A live TeamPass instance was not stood up.\n\nSecondary (needs a live confirmation before filing): there a\n\nAffected: Packagist:nilsteampassnet/TeamPass\n\nFixed in: 3.2.2.0\n\nReferences:\nhttps://github.com/nilsteampassnet/TeamPass/security/advisories/GHSA-66q9-mxf2-xqw6\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-103035\nhttps://github.com/nilsteampassnet/TeamPass/commit/e022b27f99149995c90a81f83b8e0ae8b48f5a20\nhttps://github.com/nilsteampassnet/TeamPass\nhttps://github.com/nilsteampassnet/TeamPass/releases/tag/3.2.1.2","url":"https://osv.dev/vulnerability/GHSA-66q9-mxf2-xqw6","published_at":"2026-11-20T14:45:04Z","updated_at":"2026-11-20T15:00:07.568772Z","fetched_at":"2026-11-21T19:15:55.946419Z","severity":"high","cvss_score":8.3,"epss":0.00354,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"nilsteampassnet/TeamPass","vuln_id":"CVE-2026-103035","vuln_ids":["CVE-2026-103035","GHSA-66Q9-MXF2-XQW6"],"tags":["osv","packagist","fix-available"],"cluster_id":2036,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/11085","html":"https://vulnwatch.ve1ve2.com/item/11085"}},{"id":2309,"source":{"id":"ghsa","name":"GitHub Security Advisories"},"title":"GHSA-66q9-mxf2-xqw6 / CVE-2026-103035: TeamPass folder re-parenting authorization bypass","summary":"TeamPass folder re-parenting authorization bypass\n\n## Summary\n\nMissing authorization in the update_folder action: any authenticated non-read-only user can rename, re-parent and convert to personal any folder in the instance, moving another team's credential subtree into their own personal space and removing it from the organization. Confirmed at HEAD 2f271cdd (3.2.1.1), and present at 3.1.3.1 and 3.1.7.6.\n\n## The defect\n\nThe folder-management endpoint dispatches an update_folder action that renames and re-parents a folder. Unlike its sibling actions in the same file, it never checks the edited folder id or the submitted parent id against the caller's accessible-folder set, and the file itself performs no session/authorization gate at all. By pointing the new parent at their own personal folder, an authenticated low-privilege user takes ownership of any folder in the instance.\n\napp/sources/folders.queries.php:\n- The file never calls the session/authorization helpers: a grep for checkSession and userAccessPage across the whole file returns zero hits.\n- case 'update_folder' (lines 294-662) contains no reference to the caller's user-accessible_folders set. The only access-related logic is the personal-folder computation at lines 428-468 and the guard at line 503, which short-circuits on `(int) $isPersonal === 1`.\n- The sibling actions do carry the check: case 'add_folder' validates against user-accessible_folders at line 743, case 'delete_folders' at line 904, and case 'copy_folder' applies the equivalent parent check.\n\nSo update_folder is the one folder-mutating action in the file without an authorization predicate on either the target folder id or the new parent id.\n\n## Attacker model and trace\n\nAn authenticated TeamPass user who is not read-only (no administrative role required). The attacker submits update_folder with the victim folder's id and a parentId pointing at their own personal folder. Because the new parent is personal, the personal-folder computation sets $isPersonal = 1, which satisfies the line 503 guard, and the update writes the new parent and personal_folder = 1 for the target folder.\n\nConsequences: the stolen subtree is added to the attacker's accessible set on their next login, so the item list renders for them, and do_items_list_in_folder exposes the plaintext label, login, url, email and description of every credential in that subtree (item passwords stay sharekey-protected, hence C:L). Because the folder is now flagged personal, it disappears from the organization view for everyone else including administrators (the admin listing selects only personal_folder = 0), so this is also a denial of access to the real owners.\n\n## Verification\n\nSource-verified at HEAD: no session/authorization helper anywhere in the file; the update_folder case contains no accessible-folders predicate while add_folder, delete_folders and copy_folder do; the personal-folder short-circuit at line 503. A live TeamPass instance was not stood up.\n\nSecondary (needs a live confirmation before filing): there a\n\nAffected packages: composer:nilsteampassnet/TeamPass\nPatched: nilsteampassnet/TeamPass 3.2.2.0","url":"https://github.com/advisories/GHSA-66q9-mxf2-xqw6","published_at":"2026-11-20T14:45:04Z","updated_at":"2026-11-20T14:45:06Z","fetched_at":"2026-11-21T19:15:18.416739Z","severity":"high","cvss_score":8.3,"epss":0.00354,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"nilsteampassnet/TeamPass","vuln_id":"CVE-2026-103035","vuln_ids":["CVE-2026-103035","GHSA-66Q9-MXF2-XQW6"],"tags":["ghsa","composer","CWE-639","CWE-862"],"cluster_id":2036,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/2309","html":"https://vulnwatch.ve1ve2.com/item/2309"}},{"id":9057,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-103035: TeamPass is a self-hosted collaborative password manager. Prior to 3.2.1.2, the update_folder action in app/sources/folders.queries.php allowed an authenticate…","summary":"TeamPass is a self-hosted collaborative password manager. Prior to 3.2.1.2, the update_folder action in app/sources/folders.queries.php allowed an authenticated, non-read-only user to re-parent a folder without checking whether the target folder or submitted parentId belonged to the caller's user-accessible_folders set. Selecting a personal folder as the new parent passed the personal-folder guard and set personal_folder on the target, transferring the credential subtree into the attacker's accessible space after the next login and hiding it from the organization, including administrators. The change exposed credential labels, logins, URLs, email addresses, and descriptions, while sharekey-protected passwords remained protected; hiding the subtree also denied other users access. This issue is fixed in version 3.2.1.2.\n\nReferences:\nhttps://github.com/nilsteampassnet/TeamPass/commit/e022b27f99149995c90a81f83b8e0ae8b48f5a20\nhttps://github.com/nilsteampassnet/TeamPass/releases/tag/3.2.1.2\nhttps://github.com/nilsteampassnet/TeamPass/security/advisories/GHSA-66q9-mxf2-xqw6","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-103035","published_at":"2026-11-19T19:17:16.583000Z","updated_at":"2026-11-19T19:17:16.583000Z","fetched_at":"2026-11-21T19:15:31.484706Z","severity":"high","cvss_score":8.3,"epss":0.00354,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"php","product":null,"vuln_id":"CVE-2026-103035","vuln_ids":["CVE-2026-103035","GHSA-66Q9-MXF2-XQW6"],"tags":["CWE-639","CWE-862"],"cluster_id":2037,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/9057","html":"https://vulnwatch.ve1ve2.com/item/9057"}}]}