Reviewed:  https://review.opendev.org/c/openstack/manila/+/1014966
Committed: 
https://opendev.org/openstack/manila/commit/97a748ba480204f457329a99af2a53268309fe22
Submitter: "Zuul (22348)"
Branch:    unmaintained/2024.1

commit 97a748ba480204f457329a99af2a53268309fe22
Author: Carlos da Silva <[email protected]>
Date:   Fri Aug 7 20:55:09 2026 -0300

    Fix policy control for public shares
    
    A public share is visible to all tenants, but users other
    than the owner should not be able to modify it. Several
    operations skipped the ownership policy check for public
    shares. Also, the export location metadata endpoints
    resolved the export location globally, instead of within
    the share in the request URL.
    
    This commit enforces the ownership checks when
    manipulating access rules, creating backups or replicas,
    and soft deleting or restoring public shares. Export
    location metadata operations are now scoped to the share
    in the request URL; export locations that do not belong
    to that share now return 404.
    
    Backport note: because this changes the export-location
    metadata responses from 403 Forbidden to 404 NotFound,
    two manila-tempest-plugin tests that still assert 403 fail
    against this branch:
    
      - test_get_share_export_location_by_different_project_user
      - test_list_share_export_locations_by_different_project_user
    
    manila-tempest-plugin is branchless, and the newest tag
    compatible with this branch's Python 3.10 test nodes
    (2024.1-last) predates the plugin update that switched
    these tests to expect 404 (that update requires Python
    >= 3.11). As there is no plugin version that supports both
    py3.10 and the new 404 behaviour, these two tests are
    excluded via tempest_exclude_regex on the dummy jobs so CI
    can still validate the rest of the fix.
    
    Change-Id: Ie283dce157f9c90f5d2ab38c1e74daa7df3ac118
    Signed-off-by: Carlos da Silva <[email protected]>
    Signed-off-by: Leah Goldberg <[email protected]>
    Closes-Bug: #2161412
    Closes-Bug: #2168962
    (cherry picked from commit d82acf175eec168cef5758632a84dbceac2ac341)
    (cherry picked from commit 4fbc4b4f3688e916428a7d95d10009d414e705ab)
    (cherry picked from commit 42b5a0e0b1fe3d4eccac2ac3d77be82baec40b05)
    (cherry picked from commit 0f150840158a48ce6957c1ad12b8a1b89adaf2aa)
    (cherry picked from commit 6ba6a8cb7ccbf8c15aec213dffc8cbb440b0f0df)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2161412

Title:
  [OSSA-2026-046] Public Manila Share Allows Cross-Project Access-Rule
  and Export-Metadata Writes (CVE-2026-71195)

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/2161412/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to