Work permit after cap gap extension is over

Hi All,

Can anyone comment about work permit and stay in usa when a fresh H1 is applied, while I am in USA having CAP GAP i-20 valid till 30th Sep, but H1 petion is still pending after 30th SEP?

Are we allowed to work after capgap extention is over and H1 is in processing?